Pagini recente » Atasamentele paginii Profil andrei_udila | Borderou de evaluare (job #2105416) | Borderou de evaluare (job #2545394) | Borderou de evaluare (job #216128) | Borderou de evaluare (job #2355854)
Borderou de evaluare (job #2355854)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:78:38: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", ghiseu[1].tichet);
^
main.cpp:61: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);
^
main.cpp:62: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);
^
main.cpp:64:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
main.cpp:68:64: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld", &ghiseu[i].bagaj, &ghiseu[i].tichet);
^
main.cpp:70:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld", &olimpici, &bagaje);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 4ms | 131kb | OK | 10 |
| 6 | 6ms | 131kb | Incorect | 0 |
| 7 | 6ms | 131kb | OK | 10 |
| 8 | 2ms | 131kb | OK | 10 |
| 9 | 4ms | 131kb | Incorect | 0 |
| 10 | 6ms | 131kb | Incorect | 0 |
| Punctaj total | 70 |