Borderou de evaluare (job #2387479)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 24 martie 2019 18:44:32
Problema Cuburi4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:23:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cuburi4.in", "r", stdin) ; ^ main.cpp:24:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cuburi4.out", "w", stdout) ; ^ main.cpp:26:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n) ; ^ main.cpp:35:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(cube + 1, MV, stdin) ; ^ In file included from /usr/include/stdio.h:936:0, from main.cpp:2: In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:35:30: /usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms262kbOK10
42ms131kbOK10
52ms131kbOK10
63ms131kbOK10
73ms131kbOK10
84ms262kbOK10
97ms262kbOK10
1016ms262kbOK10
Punctaj total100

Ceva nu functioneaza?