Borderou de evaluare (job #1587218)

Utilizator lflorin29Florin Laiu lflorin29 Data 1 februarie 2016 21:10:01
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:26:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d", &Refresh[i]); ^ user.cpp:23:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.in", "r", stdin); ^ user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &K); ^ user.cpp:26:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Refresh[i]); ^ user.cpp:27:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int M; scanf("%d", &M); ^ user.cpp:30:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &from, &to, &time, &wat); ^ user.cpp: In function ‘void solve()’: user.cpp:92:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit592kbTime limit exceeded.0
2Depăşit624kbTime limit exceeded.0
3Depăşit568kbTime limit exceeded.0
4Depăşit584kbTime limit exceeded.0
5Depăşit572kbTime limit exceeded.0
6Depăşit612kbTime limit exceeded.0
7Depăşit568kbTime limit exceeded.0
8Depăşit460kbTime limit exceeded.0
94ms456kbOK10
10Depăşit456kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?