Pagini recente » Cod sursa (job #442804) | Cod sursa (job #10328) | Cod sursa (job #26799) | Cod sursa (job #76376) | Borderou de evaluare (job #1524197)
Borderou de evaluare (job #1524197)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:54:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list[node].size(); i++) {
^
user.cpp: In function ‘void dfs_solve(int)’:
user.cpp:99:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list[node].size(); i++) {
^
user.cpp:106:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < to_do[node].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:124:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("viteza.in", "r", stdin);
^
user.cpp:125:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("viteza.out", "w", stdout);
^
user.cpp:127: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:129:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:138:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &vals[i]);
^
user.cpp:142:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &query[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 3032kb | OK | 10 |
| 2 | 4ms | 3176kb | OK | 10 |
| 3 | 4ms | 3172kb | OK | 10 |
| 4 | 244ms | 13244kb | OK | 10 |
| 5 | 284ms | 13312kb | OK | 10 |
| 6 | 288ms | 14300kb | OK | 10 |
| 7 | Depăşit | 18772kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 18684kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 18912kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 19144kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |