Pagini recente » Borderou de evaluare (job #560) | Borderou de evaluare (job #1753068) | Profil jtysorin | Borderou de evaluare (job #5151) | Borderou de evaluare (job #1662017)
Borderou de evaluare (job #1662017)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("motel.in", "r", stdin);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:29:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &v[i].x, &v[i].y);
^
user.cpp:34:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &day[i].x);
^
user.cpp: In function ‘void write()’:
user.cpp:70:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("motel.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | OK | 10 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 0ms | 460kb | OK | 10 |
| 4 | 0ms | 456kb | OK | 10 |
| 5 | 0ms | 456kb | OK | 10 |
| 6 | 0ms | 456kb | OK | 10 |
| 7 | 4ms | 564kb | OK | 10 |
| 8 | 4ms | 580kb | OK | 10 |
| 9 | 4ms | 596kb | OK | 10 |
| 10 | 4ms | 556kb | OK | 10 |
| Punctaj total | 100 |