Borderou de evaluare (job #1947119)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 30 martie 2017 19:18:21
Problema Diff Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 15

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diff.in", "r", stdin); ^ user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diff.out", "w", stdout); ^ user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:17:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &x); ^ /tmp/cc6rq3ok.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2632kbOk!5
24ms2628kbOk!5
34ms2628kbOk!5
44ms2624kbRaspuns gresit!0
552ms2916kbRaspuns gresit!0
6Depăşit2792kbTime limit exceeded.0
7Depăşit2776kbTime limit exceeded.0
8Depăşit2872kbTime limit exceeded.0
9144ms3428kbRaspuns gresit!0
10148ms3424kbRaspuns gresit!0
11Depăşit2792kbTime limit exceeded.0
12112ms3224kbRaspuns gresit!0
13Depăşit3164kbTime limit exceeded.0
14Depăşit3600kbTime limit exceeded.0
15Depăşit3964kbTime limit exceeded.0
16Depăşit3964kbTime limit exceeded.0
17Depăşit3968kbTime limit exceeded.0
18Depăşit3960kbTime limit exceeded.0
19Depăşit3964kbTime limit exceeded.0
20Depăşit3976kbTime limit exceeded.0
Punctaj total15

Ceva nu functioneaza?