Pagini recente » Borderou de evaluare (job #2327111) | Borderou de evaluare (job #1105408) | Borderou de evaluare (job #1653878) | Borderou de evaluare (job #1594378) | Borderou de evaluare (job #2619511)
Borderou de evaluare (job #2619511)
Raport evaluator
Compilare:
main.cpp: In function 'int get_id(int, int)':
main.cpp:38:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0 ; j < G[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'void timetable2(int, int, int)':
main.cpp:59:13: warning: statement has no effect [-Wunused-value]
for(poz ; poz < base ; poz = poz + 2 * l)
^
main.cpp: In function 'int main()':
main.cpp:109:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[x].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int get_id(int, int)':
main.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:64:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("patrol.in" , "r" , stdin);
^
main.cpp:65:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("patrol.out" , "w" , stdout);
^
main.cpp:67:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d" , &n , &m , &p);
^
main.cpp:69:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &c[i]);
^
main.cpp:72:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &x , &y);
^
main.cpp:78:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &l);
^
main.cpp:82:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 262kb | OK | 10 |
4 | 3ms | 262kb | OK | 10 |
5 | 3ms | 393kb | OK | 10 |
6 | 6ms | 917kb | OK | 10 |
7 | 14ms | 2490kb | OK | 10 |
8 | 7ms | 1048kb | OK | 10 |
9 | 12ms | 2228kb | OK | 10 |
10 | 12ms | 2228kb | OK | 10 |
Punctaj total | 100 |