Borderou de evaluare (job #1907628)

Utilizator horiainfoTurcuman Horia horiainfo Data 6 martie 2017 20:13:21
Problema Reactor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:62:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (nrDifSpeeds != 1 && actQ < querries.size()) ^ user.cpp:65:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < parts.size(); i++) ^ user.cpp:96:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; actQ < querries.size(); actQ++) ^ user.cpp:98:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < parts.size(); i++) ^ user.cpp:36:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reactor.in", "r", stdin); ^ user.cpp:37:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:41:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &p->speed); ^ user.cpp:51:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nrQ); ^ user.cpp:54:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &q.sect, &q.time); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit676kbTime limit exceeded.0
2Depăşit908kbTime limit exceeded.0
3Depăşit908kbTime limit exceeded.0
4Depăşit1980kbTime limit exceeded.0
5Depăşit1268kbTime limit exceeded.0
6Depăşit1988kbTime limit exceeded.0
7Depăşit1992kbTime limit exceeded.0
8Depăşit1996kbTime limit exceeded.0
9Depăşit1988kbTime limit exceeded.0
10Depăşit440kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?