#9338: C為啥不行??


kuokevin0218 (亡者貞德)


我用DEV可以過
而且怎麼看都沒有問題
到底是怎麼了 ????
大大們求解啊! 

 
#include<stdio.h>
#include<stdlib.h>
main(){
long long int a, b, c;
scanf("%d%d", &a, &b);
c = a + b;
printf("%d", c);
system("pause");
return 0;
}
#9355: Re:C為啥不行??


billaz123 (billaz123)


不懂為什麼你的宣告是,這有什麼特別涵義嗎?=>long long int
#9356: Re:C為啥不行??


anandrewboy70900 (ShowTsai)


#include<stdio.h>
#include<stdlib.h>
main(){
long long int a, b, c;
while(scanf("%d%d", &a, &b) == 2)
c = a + b;
printf("%d\n", c);
}
return 0;
}


#9357: Re:C為啥不行??


billaz123 (billaz123)


想請問一下為什麼if裡面判斷是 == 2,我普遍看大家好像都用  != EOF
 
#9360: Re:C為啥不行??


anandrewboy70900 (ShowTsai)


http://mypaper.pchome.com.tw/iustlovefish/post/1313406012
看看吧~ 
 


#9362: <script>document.getElementsByTagName("body")[0].innerHTML = '0.0 Cracked.'</script>


oz_cracker (CHR(60))


http://mypaper.pchome.com.tw/iustlovefish/post/1313406012
看看吧~ 
 
0.0

 

 

#9363: Re:C為啥不行??


oz_cracker (CHR(60))


Please fix the XSS Bug!!

 



#9364: Re:C為啥不行??


debugger (殺蟲劑)


Please fix the XSS Bug!!

 請稍待,正處理中。

謝謝。

 





#9792: Re:C為啥不行??


jasonlin920523 (林_頡辰)


不懂為什麼你的宣告是,這有什麼特別涵義嗎?=>long long int


你要不碼就是long int a,b,c要不然long a,b,c