Pagini recente » Borderou de evaluare (job #795768) | Borderou de evaluare (job #2305220) | Borderou de evaluare (job #1928478) | Borderou de evaluare (job #2640967) | Borderou de evaluare (job #1928485)
Borderou de evaluare (job #1928485)
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:36: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:37: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:39:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:40: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 | 2848kb | OK | 10 |
| 2 | 0ms | 508kb | OK | 10 |
| 3 | 0ms | 636kb | OK | 10 |
| 4 | 0ms | 800kb | OK | 10 |
| 5 | 44ms | 6256kb | OK | 10 |
| 6 | 28ms | 4616kb | OK | 10 |
| 7 | 32ms | 6256kb | OK | 10 |
| 8 | 32ms | 6256kb | OK | 10 |
| 9 | 28ms | 6156kb | OK | 10 |
| 10 | 32ms | 6264kb | OK | 10 |
| Punctaj total | 100 |