Borderou de evaluare (job #1558774)

Utilizator PTAdrian64Pop-Tifrea Adrian PTAdrian64 Data 29 decembrie 2015 16:11:40
Problema Domino Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘void Lesen()’: user.cpp:58:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&N); ^ user.cpp:61:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld %ld",&x,&y); ^ user.cpp:61:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void Rez()’: user.cpp:98:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] if(l<0)printf("%ld %ld\n",-l,0); ^ user.cpp:98:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:99:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] else printf("%ld %ld\n",l,1); ^ user.cpp:99:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:38:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("domino.in","r",stdin); ^ user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("domino.out","w",stdout); ^ user.cpp: In function ‘void Lesen()’: user.cpp:58:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&N); ^ user.cpp:61:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms664kbWrong answer!0
20ms660kbWrong answer!0
30ms664kbWrong answer!0
40ms664kbAll OK!5
532ms4584kbWrong answer!0
644ms4544kbWrong answer!0
744ms4580kbWrong answer!0
844ms4584kbWrong answer!0
936ms4380kbWrong answer!0
1024ms3012kbWrong answer!0
110ms664kbWrong answer!0
120ms668kbWrong answer!0
130ms680kbWrong answer!0
140ms668kbWrong answer!0
150ms668kbWrong answer!0
160ms728kbWrong answer!0
170ms828kbWrong answer!0
188ms1624kbWrong answer!0
1932ms3456kbWrong answer!0
2044ms4248kbWrong answer!0
Punctaj total5

Ceva nu functioneaza?