Pagini recente » Cod sursa (job #3030656) | Cod sursa (job #98772) | Cod sursa (job #876982) | Cod sursa (job #1894015) | Borderou de evaluare (job #1511662)
Borderou de evaluare (job #1511662)
Raport evaluator
Compilare:
user.cpp: In function ‘bool sortare(ghiseu, ghiseu)’:
user.cpp:14:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a.maxi==b.maxi)
^
user.cpp: In function ‘int main()’:
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("checkin.in", "r", stdin);
^
user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("checkin.out", "w", stdout);
^
user.cpp:32:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:34:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &v[1].bagaj, &v[1].tichet);
^
user.cpp:40:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &v[i].bagaj, &v[i].tichet);
^
user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &k, &p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 264kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 0ms | 268kb | OK | 10 |
| 6 | 4ms | 268kb | OK | 10 |
| 7 | 0ms | 268kb | OK | 10 |
| 8 | 0ms | 264kb | OK | 10 |
| 9 | 4ms | 268kb | OK | 10 |
| 10 | 4ms | 268kb | OK | 10 |
| Punctaj total | 100 |