Borderou de evaluare (job #2053353)

Utilizator VladG26Ene Vlad-Mihai VladG26 Data 31 octombrie 2017 18:13:17
Problema Calcul Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:12:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=] scanf("%s\n%s\n%d",&a,&b,&c); ^ user.cpp:12:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[50005]’ [-Wformat=] user.cpp:15:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(a);i++) ^ user.cpp:18:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(b);i++) ^ user.cpp:12:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n%s\n%d",&a,&b,&c); ^ user.cpp: In function ‘int main()’: user.cpp:48:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("calcul.in","r",stdin); ^ user.cpp:49:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("calcul.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK5
20ms448kbOK5
30ms448kbOK5
40ms444kbOK5
50ms460kbOK5
60ms460kbOK5
748ms464kbIncorect0
80ms452kbOK5
9Depăşit500kbTime limit exceeded.0
10Depăşit476kbTime limit exceeded.0
1120ms464kbOK5
120ms456kbOK5
13Depăşit504kbTime limit exceeded.0
14Depăşit500kbTime limit exceeded.0
1532ms500kbIncorect0
16Depăşit536kbTime limit exceeded.0
17Depăşit476kbTime limit exceeded.0
18Depăşit496kbTime limit exceeded.0
19Depăşit544kbTime limit exceeded.0
20Depăşit548kbTime limit exceeded.0
Punctaj total45

Ceva nu functioneaza?