Borderou de evaluare (job #1626306)

Utilizator thewildnathNathan Wildenberg thewildnath Data 3 martie 2016 00:32:56
Problema Trenuri3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:123:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (!pasageri.empty() && pasageri.size() > locuri) { ^ user.cpp:128:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < pleaca[i].size(); ++j) { ^ user.cpp:131:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pasageri.size() < locuri) { ^ user.cpp:150:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < vine[i].size(); ++j) { ^ user.cpp:148:9: warning: unused variable ‘statie’ [-Wunused-variable] int statie = pozStatie[i]; ^ user.cpp:72:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trenuri3.in", "r", stdin); ^ user.cpp:73:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trenuri3.out", "w", stdout); ^ user.cpp:77:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:79:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &tren[i].statie, &tren[i].cap); ^ user.cpp:82:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &pas[i].st, &pas[i].dr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1124ms11776kbKilled by signal 6(SIGABRT).0
216ms9448kbKilled by signal 6(SIGABRT).0
316ms9428kbKilled by signal 6(SIGABRT).0
412ms9404kbKilled by signal 6(SIGABRT).0
512ms9408kbKilled by signal 6(SIGABRT).0
612ms9432kbKilled by signal 6(SIGABRT).0
7132ms11980kbKilled by signal 6(SIGABRT).0
8156ms13240kbKilled by signal 6(SIGABRT).0
9204ms15052kbKilled by signal 6(SIGABRT).0
1012ms9392kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?