Pagini recente » Borderou de evaluare (job #1471002) | Borderou de evaluare (job #3000692) | Borderou de evaluare (job #992146) | Borderou de evaluare (job #2980321) | Borderou de evaluare (job #2340367)
Borderou de evaluare (job #2340367)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&n,&m);
^
main.cpp:22:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&c[i].x,&c[i].y);
^
main.cpp:24:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&b[i].x,&b[i].y);
^
main.cpp:47:89: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
cost=(long long)(b[i].x-b[y].x)*(b[i].x-b[y].x)+(long long)(b[i].y-b[y].y)*(b[i].y-b[y].y);
~~~~~^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 5 | 20 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 6ms | 131kb | OK | 5 | 5 |
| 6 | 7ms | 131kb | OK | 5 | 5 |
| 7 | 8ms | 131kb | OK | 5 | 5 |
| 8 | 7ms | 131kb | OK | 5 | 5 |
| 9 | 8ms | 131kb | OK | 5 | 5 |
| 10 | 8ms | 131kb | OK | 5 | 5 |
| 11 | 92ms | 131kb | OK | 5 | 5 |
| 12 | 84ms | 131kb | OK | 5 | 5 |
| 13 | 83ms | 131kb | OK | 5 | 5 |
| 14 | 89ms | 131kb | OK | 5 | 5 |
| 15 | 87ms | 131kb | OK | 5 | 5 |
| 16 | 96ms | 131kb | OK | 5 | 5 |
| 17 | 91ms | 131kb | OK | 5 | 5 |
| 18 | 92ms | 131kb | OK | 5 | 5 |
| 19 | 95ms | 131kb | OK | 5 | 5 |
| 20 | 93ms | 131kb | OK | 5 | 5 |
| Punctaj total | 100 |