Borderou de evaluare (job #2636859)
Raport evaluator
Compilare:
main.cpp: In function 'void solveGraph()':
main.cpp:21:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=0; k < G[j].size(); k++)
~~^~~~~~~~~~~~~
main.cpp: In function 'void readData()':
main.cpp:31:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
main.cpp:34:53: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b), G[a].pb(b), deg[b]++;
^
main.cpp: In function 'int main()':
main.cpp:40:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.in", "rt", stdin);
^
main.cpp:41:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.out", "wt", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1310kb | OK | 10 |
2 | 5ms | 1310kb | OK | 10 |
3 | 6ms | 1310kb | OK | 10 |
4 | 10ms | 1310kb | OK | 10 |
5 | 43ms | 1441kb | OK | 10 |
6 | 107ms | 1572kb | OK | 10 |
7 | 252ms | 1703kb | Time limit exceeded | 0 |
8 | 252ms | 1835kb | Time limit exceeded | 0 |
9 | 251ms | 2490kb | Time limit exceeded | 0 |
10 | 253ms | 2752kb | Time limit exceeded | 0 |
Punctaj total | 60 |