Borderou de evaluare (job #1855441)

Utilizator wilson182Alexandrina Panfil wilson182 Data 23 ianuarie 2017 17:41:39
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 34

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if (s%2==0)printf("%d\n", s/2); else printf("%d", (s+1)/2); ^ user.cpp:54:59: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if (s%2==0)printf("%d\n", s/2); else printf("%d", (s+1)/2); ^ user.cpp:53:6: warning: unused variable ‘dr’ [-Wunused-variable] int dr, st; ^ user.cpp:53:10: warning: unused variable ‘st’ [-Wunused-variable] int dr, st; ^ user.cpp:28:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.in", "r", stdin); ^ user.cpp:29:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.out", "w", stdout); ^ user.cpp:33:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:34:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d %c", &x, &c); ^ user.cpp:47:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1116ms2820kbRaspuns gresit0
20ms392kbKilled by signal 11(SIGSEGV).0
3112ms2816kbRaspuns gresit0
4108ms2820kbRaspuns gresit0
50ms424kbKilled by signal 11(SIGSEGV).0
60ms472kbPrimul numar corect1
70ms472kbPrimul numar corect1
80ms468kbPrimul numar corect1
936ms1404kbPrimul numar corect1
1044ms1644kbPrimul numar corect1
110ms520kbOK5
1288ms2360kbPrimul numar corect1
1388ms2296kbOK5
140ms504kbPrimul numar corect1
150ms472kbOK5
160ms472kbPrimul numar corect1
17108ms2816kbPrimul numar corect1
18108ms2784kbOK5
1976ms2408kbOK5
200ms392kbKilled by signal 11(SIGSEGV).0
Punctaj total34

Ceva nu functioneaza?