Pagini recente » Borderou de evaluare (job #1939489) | Borderou de evaluare (job #1380089) | Borderou de evaluare (job #795768) | Borderou de evaluare (job #2305220) | Borderou de evaluare (job #1928478)
Borderou de evaluare (job #1928478)
Raport evaluator
Compilare:
user.cpp: In function ‘int read(char*&)’:
user.cpp:15:9: warning: unused variable ‘x’ [-Wunused-variable]
int x = 0;
^
user.cpp:18:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(S, 1, S_MAX, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.in", "r", stdin);
^
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("custi.out", "w", stdout);
^
user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:30:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(S, 1, S_MAX, stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 2844kb | OK | 10 |
| 2 | 0ms | 508kb | OK | 10 |
| 3 | 0ms | 632kb | OK | 10 |
| 4 | 0ms | 800kb | OK | 10 |
| 5 | 44ms | 5320kb | OK | 10 |
| 6 | 28ms | 4448kb | OK | 10 |
| 7 | 28ms | 5320kb | OK | 10 |
| 8 | 28ms | 5320kb | OK | 10 |
| 9 | 28ms | 5276kb | OK | 10 |
| 10 | 28ms | 5320kb | OK | 10 |
| Punctaj total | 100 |