Borderou de evaluare (job #1907927)

Utilizator horiainfoTurcuman Horia horiainfo Data 6 martie 2017 21:46:22
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:51:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (actQ < querries.size()) ^ user.cpp:54:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < parts.size(); i++) ^ user.cpp:80:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; actQ < querries.size(); actQ++) ^ user.cpp:82:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < parts.size(); i++) ^ user.cpp:50:26: warning: variable ‘last’ set but not used [-Wunused-but-set-variable] int time = 0, actQ = 0, last = 0; ^ user.cpp:26: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:27:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:31:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &p->speed); ^ user.cpp:40:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nrQ); ^ user.cpp:43: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ăşit684kbTime limit exceeded.0
2Depăşit908kbTime limit exceeded.0
3Depăşit904kbTime limit exceeded.0
4Depăşit1988kbTime limit exceeded.0
5Depăşit1276kbTime limit exceeded.0
6Depăşit1996kbTime limit exceeded.0
7Depăşit1996kbTime limit exceeded.0
8Depăşit1992kbTime limit exceeded.0
9Depăşit2000kbTime limit exceeded.0
10Depăşit444kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?