Borderou de evaluare (job #1373346)

Utilizator robertstrecheStreche Robert robertstreche Data 4 martie 2015 18:12:34
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1005]’ [-Wformat=] scanf("%s",&S); ^ user.cpp:45:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<strlen(S);i++) ^ user.cpp:69:10: warning: unused variable ‘nr’ [-Wunused-variable] int nr=q.size(); ^ user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cobai.in","r",stdin); ^ user.cpp:27:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cobai.out","w",stdout); ^ user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&m); ^ user.cpp:34:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&a[i][j]); ^ user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:40:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&S); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOk!5
20ms268kbOk!5
3Depăşit8836kbTime limit exceeded.0
4Depăşit11912kbTime limit exceeded.0
5Depăşit16160kbTime limit exceeded.0
6Depăşit14540kbTime limit exceeded.0
7Depăşit13452kbTime limit exceeded.0
8Depăşit10688kbTime limit exceeded.0
9Depăşit14432kbTime limit exceeded.0
10Depăşit14092kbTime limit exceeded.0
11Depăşit13696kbTime limit exceeded.0
12Depăşit17300kbTime limit exceeded.0
13Depăşit18304kbTime limit exceeded.0
14Depăşit16628kbTime limit exceeded.0
15Depăşit17712kbTime limit exceeded.0
16Depăşit17576kbTime limit exceeded.0
17Depăşit16636kbTime limit exceeded.0
18Depăşit16836kbTime limit exceeded.0
19Depăşit17424kbTime limit exceeded.0
20Depăşit18504kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?