Borderou de evaluare (job #2179729)

Utilizator seby2341Mesca Sebastian seby2341 Data 20 martie 2018 13:39:36
Problema Ramen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 14

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:13:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d", &t[i], &p[i]); ^ user.cpp:13:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:61:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d \n", sol[i]); ^ user.cpp: In function ‘void read()’: user.cpp:10:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &d); ^ user.cpp:13:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &t[i], &p[i]); ^ user.cpp: In function ‘int main()’: user.cpp:52:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ramen.in", "r",stdin); ^ user.cpp:53:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ramen.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2960kbCorect4
24ms2736kbCorect3
34ms2736kbCorect3
44ms2692kbCorect4
54ms2796kbIncorect0
644ms2768kbIncorect0
744ms2952kbIncorect0
84ms2312kbKilled by signal 11(SIGSEGV).0
94ms2360kbKilled by signal 11(SIGSEGV).0
104ms2320kbKilled by signal 11(SIGSEGV).0
114ms2580kbKilled by signal 11(SIGSEGV).0
124ms2320kbKilled by signal 11(SIGSEGV).0
134ms2400kbKilled by signal 11(SIGSEGV).0
144ms2572kbKilled by signal 11(SIGSEGV).0
154ms2348kbKilled by signal 11(SIGSEGV).0
164ms2424kbKilled by signal 11(SIGSEGV).0
174ms2676kbKilled by signal 11(SIGSEGV).0
184ms2516kbKilled by signal 11(SIGSEGV).0
194ms2596kbKilled by signal 11(SIGSEGV).0
204ms2328kbKilled by signal 11(SIGSEGV).0
214ms2404kbKilled by signal 11(SIGSEGV).0
224ms2588kbKilled by signal 11(SIGSEGV).0
Punctaj total14

Ceva nu functioneaza?