Pagini recente » Borderou de evaluare (job #2142740) | Borderou de evaluare (job #2954071) | Borderou de evaluare (job #2374154) | Borderou de evaluare (job #1020548) | Borderou de evaluare (job #1949335)
Borderou de evaluare (job #1949335)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:20:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i) {
^
user.cpp: In function ‘void computeBest(int)’:
user.cpp:35:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i) {
^
user.cpp: In function ‘int main()’:
user.cpp:47:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amenzi.in", "r", stdin);
^
user.cpp:48:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amenzi.out", "w", stdout);
^
user.cpp:52:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m, &k, &p);
^
user.cpp:54:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
user.cpp:60:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
user.cpp:65:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &query[i].first, &query[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 588kb | OK | 10 |
2 | 4ms | 1232kb | OK | 10 |
3 | 0ms | 956kb | OK | 10 |
4 | 4ms | 1140kb | OK | 10 |
5 | 16ms | 1444kb | OK | 10 |
6 | 36ms | 2236kb | OK | 10 |
7 | 32ms | 1936kb | OK | 10 |
8 | 44ms | 2404kb | OK | 10 |
9 | 76ms | 3156kb | OK | 10 |
10 | 36ms | 1908kb | OK | 10 |
Punctaj total | 100 |