Pagini recente » Cod sursa (job #1677273) | Borderou de evaluare (job #2412491)
Borderou de evaluare (job #2412491)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:30:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[start_node].size();i++)
~^~~~~~~~~~~~~~~~~~~~~
main.cpp:27:9: warning: unused variable 'k' [-Wunused-variable]
int k=coada[fin].first-coada[beg-1].first;
^
main.cpp: In function 'int main()':
main.cpp:39:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.in", "r", stdin);
^
main.cpp:40:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.out", "w", stdout);
^
main.cpp:43:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &c);
^
main.cpp:45:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &spi[i]);
^
main.cpp:47:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cf[i]);
^
main.cpp:51:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 2490kb | OK | 10 |
2 | 177ms | 13217kb | OK | 10 |
3 | 9ms | 2621kb | OK | 10 |
4 | 9ms | 2621kb | OK | 10 |
5 | 284ms | 5636kb | OK | 10 |
6 | 400ms | 7467kb | Time limit exceeded | 0 |
7 | 400ms | 8253kb | Time limit exceeded | 0 |
8 | 400ms | 8253kb | Time limit exceeded | 0 |
9 | 400ms | 8515kb | Time limit exceeded | 0 |
10 | 402ms | 8515kb | Time limit exceeded | 0 |
Punctaj total | 50 |