Borderou de evaluare (job #1213489)

Utilizator azkabancont-vechi azkaban Data 28 iulie 2014 12:20:52
Problema Triplet Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:13:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if (n%2) printf("%d %d %d",n/2+1,n/2,0); ^ user.cpp:13:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:14:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] else printf("%d %d %d",n/2,-(n/2-1),1); ^ user.cpp:14:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp: In function ‘void openfile()’: user.cpp:5:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triplet.in","r",stdin); ^ user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triplet.out","w",stdout); ^ user.cpp: In function ‘int main()’: user.cpp:12:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbIncorect 610
20ms240kbIncorect 8490
30ms236kbIncorect 12561575650
40ms240kbIncorect 17542339255235210
50ms244kbIncorect 12875110
60ms236kbIncorect 762764536076810
70ms236kbIncorect 2437362585516835210
80ms240kbIncorect 3143998611797035210
90ms240kbIncorect 9689285810
100ms240kbIncorect 19084294909726895210
Punctaj total0

Ceva nu functioneaza?