Borderou de evaluare (job #1855446)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:63: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if (s%2==0)printf("%lld\n", s/2); else printf("%d\n", (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
1116ms2820kbPrimul numar corect1
20ms388kbKilled by signal 11(SIGSEGV).0
3108ms2820kbPrimul numar corect1
4116ms2824kbPrimul numar corect1
50ms424kbKilled by signal 11(SIGSEGV).0
60ms480kbPrimul numar corect1
70ms480kbPrimul numar corect1
80ms476kbPrimul numar corect1
936ms1412kbPrimul numar corect1
1048ms1648kbPrimul numar corect1
110ms524kbOK5
1288ms2368kbPrimul numar corect1
1384ms2304kbOK5
140ms516kbPrimul numar corect1
150ms480kbOK5
160ms480kbPrimul numar corect1
17108ms2816kbPrimul numar corect1
18104ms2788kbOK5
1976ms2408kbOK5
200ms388kbKilled by signal 11(SIGSEGV).0
Punctaj total37

Ceva nu functioneaza?