Pagini recente » Borderou de evaluare (job #927175) | Borderou de evaluare (job #1282824) | Borderou de evaluare (job #1388968) | Borderou de evaluare (job #556078) | Borderou de evaluare (job #2373039)
Borderou de evaluare (job #2373039)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:23:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<v[nod].size();j++){
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:74:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=k;i++)
^~~
main.cpp:77:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
printf("%d\n",mmax);
^~~~~~
main.cpp:47:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.in","r",stdin);
^
main.cpp:48:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.out","w",stdout);
^
main.cpp:49:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&k);
^
main.cpp:50:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=k;i++)scanf("%d",&prieteni[i]);
^
main.cpp:52:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 3ms | 131kb | OK | 5 |
| 4 | 2ms | 262kb | OK | 5 |
| 5 | 2ms | 262kb | OK | 5 |
| 6 | 3ms | 262kb | OK | 5 |
| 7 | 4ms | 262kb | OK | 5 |
| 8 | 4ms | 262kb | OK | 5 |
| 9 | 5ms | 393kb | OK | 5 |
| 10 | 7ms | 393kb | OK | 5 |
| 11 | 11ms | 655kb | OK | 5 |
| 12 | 11ms | 655kb | OK | 5 |
| 13 | 18ms | 917kb | OK | 5 |
| 14 | 42ms | 1703kb | OK | 5 |
| 15 | 87ms | 3014kb | OK | 5 |
| 16 | 100ms | 3145kb | OK | 5 |
| 17 | 111ms | 3145kb | OK | 5 |
| 18 | 113ms | 3145kb | OK | 5 |
| 19 | 145ms | 3407kb | OK | 5 |
| 20 | 2ms | 131kb | OK | 5 |
| Punctaj total | 100 |