Pagini recente » Borderou de evaluare (job #3206839) | Borderou de evaluare (job #1814989) | Borderou de evaluare (job #2942980) | Borderou de evaluare (job #3289867) | Borderou de evaluare (job #1942381)
Borderou de evaluare (job #1942381)
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 | 584kb | OK | 10 |
2 | 4ms | 1236kb | OK | 10 |
3 | 0ms | 960kb | OK | 10 |
4 | 4ms | 1136kb | OK | 10 |
5 | 20ms | 1440kb | OK | 10 |
6 | 36ms | 2236kb | OK | 10 |
7 | 32ms | 1932kb | OK | 10 |
8 | 44ms | 2400kb | OK | 10 |
9 | 72ms | 3156kb | OK | 10 |
10 | 36ms | 1912kb | OK | 10 |
Punctaj total | 100 |