Pagini recente » Borderou de evaluare (job #1384966) | Borderou de evaluare (job #3032226) | Borderou de evaluare (job #2349990) | Borderou de evaluare (job #3032224) | Borderou de evaluare (job #2451317)
Borderou de evaluare (job #2451317)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:63:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.in", "r", stdin);
^
main.cpp:64:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.out", "w", stdout);
^
main.cpp: In function 'char next()':
main.cpp:10:45: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, BUFFER_SIZE, stdin);
^
main.cpp: In function 'int main()':
main.cpp:85:48: warning: 'last_pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
print(max_sum), print(starting_pos + 1), print(last_pos + 1);
~~~~~^~~~~~~~~~~~~~
main.cpp:85:23: warning: 'starting_pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
print(max_sum), print(starting_pos + 1), print(last_pos + 1);
~~~~~^~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 3ms | 131kb | OK | 5 |
| 7 | 3ms | 262kb | OK | 5 |
| 8 | 3ms | 262kb | OK | 5 |
| 9 | 6ms | 262kb | OK | 5 |
| 10 | 9ms | 262kb | OK | 5 |
| 11 | 15ms | 262kb | OK | 5 |
| 12 | 21ms | 262kb | OK | 5 |
| 13 | 27ms | 262kb | OK | 5 |
| 14 | 34ms | 262kb | OK | 5 |
| 15 | 130ms | 393kb | OK | 5 |
| 16 | 148ms | 262kb | OK | 5 |
| 17 | 148ms | 262kb | OK | 5 |
| 18 | 161ms | 262kb | OK | 5 |
| 19 | 162ms | 262kb | OK | 5 |
| 20 | 151ms | 262kb | OK | 5 |
| Punctaj total | 100 |