Pagini recente » Borderou de evaluare (job #1419467) | Borderou de evaluare (job #1878312) | Borderou de evaluare (job #172141) | Borderou de evaluare (job #2902551) | Borderou de evaluare (job #1419848)
Borderou de evaluare (job #1419848)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:18:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&N,&M);
^
user.cpp:18:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d",&x,&y,&z);
^
user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp: In function ‘void BellmanFord(const int&)’:
user.cpp:36:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Graf[nod].size() && Ciclu==false;i++)
^
user.cpp: In function ‘void Write()’:
user.cpp:57:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",D[i]);
^
user.cpp: In function ‘void Read()’:
user.cpp:17:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in", "r", stdin);
^
user.cpp:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&M);
^
user.cpp:21: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);
^
user.cpp: In function ‘void Write()’:
user.cpp:52:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1008kb | OK | 5 | 5 |
| 2 | 0ms | 1016kb | OK | 5 | 5 |
| 3 | 0ms | 1020kb | OK | 5 | 5 |
| 4 | 0ms | 1024kb | OK | 5 | 5 |
| 5 | 0ms | 1048kb | OK | 5 | 5 |
| 6 | 0ms | 1028kb | OK | 5 | 10 |
| 7 | 0ms | 1044kb | OK | 5 |
| 8 | 32ms | 1432kb | OK | 5 | 15 |
| 9 | 44ms | 1788kb | OK | 5 |
| 10 | 0ms | 1092kb | OK | 5 |
| 11 | 52ms | 1732kb | OK | 5 | 20 |
| 12 | 112ms | 2772kb | OK | 5 |
| 13 | 76ms | 2276kb | OK | 5 |
| 14 | 148ms | 3372kb | OK | 5 |
| 15 | 188ms | 3844kb | OK | 5 | 15 |
| 16 | 148ms | 3224kb | OK | 5 |
| 17 | 8ms | 1080kb | OK | 5 |
| 18 | 212ms | 4108kb | OK | 5 | 15 |
| 19 | 264ms | 4840kb | OK | 5 |
| 20 | 8ms | 1312kb | OK | 5 |
| Punctaj total | 100 |