Pagini recente » Borderou de evaluare (job #806590) | Borderou de evaluare (job #1233481) | Borderou de evaluare (job #1875720) | Borderou de evaluare (job #2804159) | Borderou de evaluare (job #1928481)
Borderou de evaluare (job #1928481)
Raport evaluator
Compilare:
user.cpp: In function ‘int read(char*&)’:
user.cpp:14:9: warning: unused variable ‘x’ [-Wunused-variable]
int x = 0;
^
user.cpp:17: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:25: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:26: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:28:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:29: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 | 2364kb | OK | 10 |
| 2 | 0ms | 516kb | OK | 10 |
| 3 | 0ms | 632kb | OK | 10 |
| 4 | 0ms | 792kb | OK | 10 |
| 5 | 48ms | 4316kb | OK | 10 |
| 6 | 28ms | 3444kb | OK | 10 |
| 7 | 32ms | 4312kb | OK | 10 |
| 8 | 32ms | 4312kb | OK | 10 |
| 9 | 32ms | 4264kb | OK | 10 |
| 10 | 32ms | 4308kb | OK | 10 |
| Punctaj total | 100 |