Borderou de evaluare (job #1373384)

Utilizator robertstrecheStreche Robert robertstreche Data 4 martie 2015 18:21:26
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:44:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<strlen(S);i++) ^ 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ăşit6248kbTime limit exceeded.0
4Depăşit4944kbTime limit exceeded.0
5Depăşit8576kbTime limit exceeded.0
6Depăşit8008kbTime limit exceeded.0
7Depăşit8380kbTime limit exceeded.0
8Depăşit5268kbTime limit exceeded.0
9Depăşit7228kbTime limit exceeded.0
10Depăşit7436kbTime limit exceeded.0
11Depăşit8220kbTime limit exceeded.0
12Depăşit8648kbTime limit exceeded.0
13Depăşit8308kbTime limit exceeded.0
14Depăşit8500kbTime limit exceeded.0
15Depăşit8664kbTime limit exceeded.0
16Depăşit8908kbTime limit exceeded.0
17Depăşit7844kbTime limit exceeded.0
18Depăşit8184kbTime limit exceeded.0
19Depăşit8776kbTime limit exceeded.0
20Depăşit8524kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?