Pagini recente » Borderou de evaluare (job #1878312) | Borderou de evaluare (job #172141) | Borderou de evaluare (job #2902551) | Borderou de evaluare (job #1419848) | Borderou de evaluare (job #1419847)
Borderou de evaluare (job #1419847)
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 | 1016kb | OK | 5 | 5 |
| 2 | 0ms | 1016kb | OK | 5 | 5 |
| 3 | 0ms | 1024kb | OK | 5 | 5 |
| 4 | 0ms | 1028kb | OK | 5 | 5 |
| 5 | 0ms | 1052kb | OK | 5 | 5 |
| 6 | 0ms | 1032kb | OK | 5 | 10 |
| 7 | 0ms | 1052kb | OK | 5 |
| 8 | 32ms | 1428kb | OK | 5 | 15 |
| 9 | 44ms | 1788kb | OK | 5 |
| 10 | 0ms | 1096kb | OK | 5 |
| 11 | 52ms | 1732kb | OK | 5 | 20 |
| 12 | 104ms | 2780kb | OK | 5 |
| 13 | 72ms | 2272kb | OK | 5 |
| 14 | 148ms | 3372kb | OK | 5 |
| 15 | 188ms | 3840kb | OK | 5 | 15 |
| 16 | 144ms | 3232kb | OK | 5 |
| 17 | 8ms | 1084kb | OK | 5 |
| 18 | 212ms | 4108kb | OK | 5 | 15 |
| 19 | 264ms | 4844kb | OK | 5 |
| 20 | 8ms | 1308kb | OK | 5 |
| Punctaj total | 100 |