Borderou de evaluare (job #2053351)

Utilizator VladG26Ene Vlad-Mihai VladG26 Data 31 octombrie 2017 18:12:39
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
40ms448kbOK5
50ms456kbOK5
60ms456kbOK5
748ms464kbIncorect0
80ms452kbOK5
9Depăşit504kbTime limit exceeded.0
10Depăşit468kbTime limit exceeded.0
1120ms456kbOK5
120ms452kbOK5
13Depăşit504kbTime limit exceeded.0
14Depăşit496kbTime limit exceeded.0
1532ms500kbIncorect0
16Depăşit536kbTime limit exceeded.0
17Depăşit480kbTime limit exceeded.0
18Depăşit500kbTime limit exceeded.0
19Depăşit540kbTime limit exceeded.0
20Depăşit544kbTime limit exceeded.0
Punctaj total45

Ceva nu functioneaza?