Pagini recente » Borderou de evaluare (job #371383) | Borderou de evaluare (job #2079640) | Cod sursa (job #3131069) | Borderou de evaluare (job #990231) | Borderou de evaluare (job #1661988)
Borderou de evaluare (job #1661988)
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:66: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 | 456kb | Raspuns gresit | 0 |
| 3 | 0ms | 456kb | OK | 10 |
| 4 | 0ms | 456kb | OK | 10 |
| 5 | 0ms | 456kb | OK | 10 |
| 6 | 0ms | 460kb | OK | 10 |
| 7 | 4ms | 564kb | OK | 10 |
| 8 | 4ms | 580kb | OK | 10 |
| 9 | 4ms | 600kb | OK | 10 |
| 10 | 4ms | 552kb | OK | 10 |
| Punctaj total | 90 |