Pagini recente » Borderou de evaluare (job #2271525) | Borderou de evaluare (job #1871152) | Borderou de evaluare (job #2266763) | Borderou de evaluare (job #2116224) | Borderou de evaluare (job #2270681)
Borderou de evaluare (job #2270681)
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 | 5ms | 1048kb | OK | 10 |
| 2 | 9ms | 1179kb | OK | 10 |
| 3 | 50ms | 1441kb | Incorect | 0 |
| 4 | 4ms | 1048kb | Incorect | 0 |
| 5 | 200ms | 1966kb | Time limit exceeded | 0 |
| 6 | 116ms | 2752kb | OK | 10 |
| 7 | 8ms | 1310kb | OK | 10 |
| 8 | 203ms | 1441kb | Time limit exceeded | 0 |
| 9 | 203ms | 2359kb | Time limit exceeded | 0 |
| 10 | 201ms | 3801kb | Time limit exceeded | 0 |
| Punctaj total | 40 |