Borderou de evaluare (job #1748999)

Utilizator tziplea_stefanTiplea Stefan tziplea_stefan Data 27 august 2016 17:33:16
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:65:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1005]’ [-Wformat=] scanf("%s", &s); ^ user.cpp:46:36: 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:47:38: 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:48:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:53:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c[i][j]); ^ user.cpp:55:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c[i][j]); ^ user.cpp:65:20: 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
10ms296kbOk!5
20ms292kbOk!5
3Depăşit244kbTime limit exceeded.0
4Depăşit248kbTime limit exceeded.0
5Depăşit244kbTime limit exceeded.0
6Depăşit256kbTime limit exceeded.0
7Depăşit248kbTime limit exceeded.0
8Depăşit248kbTime limit exceeded.0
9Depăşit256kbTime limit exceeded.0
10Depăşit260kbTime limit exceeded.0
11Depăşit256kbTime limit exceeded.0
12Depăşit256kbTime limit exceeded.0
13Depăşit264kbTime limit exceeded.0
14Depăşit280kbTime limit exceeded.0
15Depăşit268kbTime limit exceeded.0
16Depăşit264kbTime limit exceeded.0
17Depăşit248kbTime limit exceeded.0
18Depăşit300kbTime limit exceeded.0
19Depăşit308kbTime limit exceeded.0
20Depăşit288kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?