Borderou de evaluare (job #2321213)

Utilizator AlexPop28Pop Alex-Nicolae AlexPop28 Data 15 ianuarie 2019 20:23:27
Problema Por Costel și Trenul Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:36: warning: operation on 'low' may be undefined [-Wsequence-point] printf ("%d %d\n", low++, low++); ~~~^~ main.cpp:38:49: warning: operation on 'high' may be undefined [-Wsequence-point] printf ("%d %d %d\n", high--, high--, high--); ~~~~^~ main.cpp:38:49: warning: operation on 'high' may be undefined [-Wsequence-point] main.cpp:22:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("trenul.in", "r", stdin); ^ main.cpp:23:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("trenul.out", "w", stdout); ^ main.cpp:26:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d\n", &n, &m); ^ main.cpp:31:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbCorect10
25ms131kbCorect10
313ms262kbCorect10
423ms393kbCorect10
534ms655kbCorect10
646ms786kbCorect10
734ms786kbCorect10
847ms786kbCorect10
940ms786kbCorect10
1050ms786kbCorect10
Punctaj total100

Ceva nu functioneaza?