Borderou de evaluare (job #1351379)

Utilizator techLaurentiu Avasiloaie tech Data 21 februarie 2015 10:55:18
Problema Por Costel si Azerah Status done
Runda ONIS 2015, Runda 1 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%u",&x); ^ user.cpp:47:27: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%u\n",rasp); ^ user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("azerah.in","r",stdin); ^ user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("azerah.out","w",stdout); ^ user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T); ^ user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&N); ^ user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1252ms1052kbOK100
Punctaj total100

Ceva nu functioneaza?