Pagini recente » Borderou de evaluare (job #2650492) | Borderou de evaluare (job #2629004) | Borderou de evaluare (job #2900694) | Borderou de evaluare (job #2577395)
Borderou de evaluare (job #2577395)
Raport evaluator
Compilare:
main.cpp: In function 'int read()':
main.cpp:57:60: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (read_idx > BUF_SIZE) { fgets(reader, BUF_SIZE, stdin); read_idx = 0; }
^
main.cpp:66:60: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (read_idx > BUF_SIZE) { fgets(reader, BUF_SIZE, stdin); read_idx = 0; }
^
main.cpp: In function 'int main()':
main.cpp:96:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in", "r", stdin);
^
main.cpp:97:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out", "w", stdout);
^
main.cpp:99:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
main.cpp:101:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(reader, BUF_SIZE, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 262kb | Corect! | 10 | 10 |
2 | 5ms | 524kb | Corect! | 10 | 10 |
3 | 2ms | 262kb | Corect! | 10 | 10 |
4 | 3ms | 262kb | Corect! | 10 | 10 |
5 | 3ms | 262kb | Corect! | 10 | 10 |
6 | 4ms | 393kb | Corect! | 10 | 10 |
7 | 4ms | 393kb | Corect! | 10 | 10 |
8 | 158ms | 13611kb | Corect! | 10 | 30 |
9 | 92ms | 13611kb | Corect! | 10 |
10 | 159ms | 13479kb | Corect! | 10 |
Punctaj total | 100 |