Pagini recente » Cod sursa (job #1988469) | Borderou de evaluare (job #2649785) | Borderou de evaluare (job #711119) | Borderou de evaluare (job #1380913) | Borderou de evaluare (job #1999503)
Borderou de evaluare (job #1999503)
Raport evaluator
Compilare:
user.cpp: In function ‘int un(int, int)’:
user.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disjoint.in", "r", stdin);
^
user.cpp:36:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disjoint.out", "w", stdout);
^
user.cpp:38:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:46:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
user.cpp:47:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | OK | 10 | 10 |
2 | 0ms | 256kb | OK | 10 | 10 |
3 | 0ms | 264kb | OK | 10 | 10 |
4 | 0ms | 268kb | OK | 10 | 10 |
5 | 4ms | 272kb | OK | 10 | 30 |
6 | 72ms | 652kb | OK | 10 |
7 | 72ms | 648kb | OK | 10 |
8 | 76ms | 800kb | OK | 10 | 10 |
9 | 36ms | 568kb | OK | 10 | 10 |
10 | 80ms | 1032kb | OK | 10 | 10 |
Punctaj total | 100 |