Pagini recente » Borderou de evaluare (job #530533) | Borderou de evaluare (job #1642546) | Borderou de evaluare (job #1910810) | Borderou de evaluare (job #1058893) | Borderou de evaluare (job #2270684)
Borderou de evaluare (job #2270684)
Raport evaluator
Compilare:
main.cpp: In function 'void dij(int)':
main.cpp:30: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:48:15: warning: unused variable 'j' [-Wunused-variable]
int m, i, j, cost, a, b, q;
^
main.cpp:46: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:47: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:50: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:54:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
main.cpp:60: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 | 4ms | 1048kb | OK | 10 |
2 | 9ms | 1179kb | OK | 10 |
3 | 47ms | 1441kb | Incorect | 0 |
4 | 4ms | 1048kb | Incorect | 0 |
5 | 201ms | 1966kb | Time limit exceeded | 0 |
6 | 143ms | 2785kb | OK | 10 |
7 | 10ms | 1310kb | OK | 10 |
8 | 124ms | 1441kb | OK | 10 |
9 | 200ms | 2359kb | Time limit exceeded | 0 |
10 | 203ms | 3928kb | Time limit exceeded | 0 |
Punctaj total | 50 |