Pagini recente » Borderou de evaluare (job #443312) | Borderou de evaluare (job #2273192) | Borderou de evaluare (job #672439) | Borderou de evaluare (job #1066056) | Borderou de evaluare (job #2270680)
Borderou de evaluare (job #2270680)
Raport evaluator
Compilare:
main.cpp: In function 'void dij(int)':
main.cpp:29:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<graph[nod].size();i++)
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:47:15: warning: unused variable 'j' [-Wunused-variable]
int m, i, j, cost, a, b, q;
^
main.cpp:45:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.in", "r", stdin);
^
main.cpp:46:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.out", "w", stdout);
^
main.cpp:49:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &q);
^
main.cpp:53:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
main.cpp:58:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 1048kb | OK | 10 |
2 | 9ms | 1179kb | OK | 10 |
3 | 50ms | 1441kb | Incorect | 0 |
4 | 4ms | 1048kb | Incorect | 0 |
5 | 201ms | 1966kb | Time limit exceeded | 0 |
6 | 142ms | 2752kb | OK | 10 |
7 | 10ms | 1179kb | OK | 10 |
8 | 200ms | 1441kb | Time limit exceeded | 0 |
9 | 203ms | 2359kb | Time limit exceeded | 0 |
10 | 200ms | 3801kb | Time limit exceeded | 0 |
Punctaj total | 40 |