Pagini recente » Borderou de evaluare (job #2905327) | algoritm | Borderou de evaluare (job #2334267) | Borderou de evaluare (job #2492182) | Borderou de evaluare (job #1833660)
Borderou de evaluare (job #1833660)
Raport evaluator
Compilare:
user.cpp: In function ‘int Intersection(int&, int&)’:
user.cpp:227:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void Read()’:
user.cpp:64:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d", &n, &m, &t);
^
user.cpp:68:80: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d", &startPs[i].y, &startPs[i].x, &startPs[i].type);
^
user.cpp: In function ‘int Surface(int)’:
user.cpp:75:9: warning: ‘dy’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int dy;
^
user.cpp: In function ‘int Intersection(int&, int&)’:
user.cpp:185:46: warning: ‘dy’ may be used uninitialized in this function [-Wmaybe-uninitialized]
diff2 = (py - startPs[index1].y) * dy;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Incorect | 0 |
| 2 | 0ms | 272kb | Incorect | 0 |
| 3 | 0ms | 304kb | OK | 5 |
| 4 | 0ms | 300kb | Incorect | 0 |
| 5 | 0ms | 312kb | OK | 5 |
| 6 | 0ms | 540kb | OK | 5 |
| 7 | 0ms | 284kb | Incorect | 0 |
| 8 | 0ms | 544kb | Incorect | 0 |
| 9 | 0ms | 400kb | OK | 5 |
| 10 | 0ms | 276kb | Incorect | 0 |
| 11 | 0ms | 488kb | Incorect | 0 |
| 12 | 4ms | 992kb | OK | 5 |
| 13 | 4ms | 1068kb | OK | 5 |
| 14 | 4ms | 1156kb | OK | 5 |
| 15 | 36ms | 2600kb | Incorect | 0 |
| 16 | 44ms | 2872kb | OK | 5 |
| 17 | 36ms | 2672kb | OK | 5 |
| 18 | 20ms | 2292kb | Incorect | 0 |
| 19 | 12ms | 1652kb | OK | 5 |
| 20 | 20ms | 2060kb | OK | 5 |
| Punctaj total | 55 |