Pagini recente » Borderou de evaluare (job #1632198) | Borderou de evaluare (job #1086452) | Borderou de evaluare (job #996787) | Borderou de evaluare (job #299945) | Borderou de evaluare (job #1855446)
Borderou de evaluare (job #1855446)
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 |
1 | 116ms | 2820kb | Primul numar corect | 1 |
2 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 108ms | 2820kb | Primul numar corect | 1 |
4 | 116ms | 2824kb | Primul numar corect | 1 |
5 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 480kb | Primul numar corect | 1 |
7 | 0ms | 480kb | Primul numar corect | 1 |
8 | 0ms | 476kb | Primul numar corect | 1 |
9 | 36ms | 1412kb | Primul numar corect | 1 |
10 | 48ms | 1648kb | Primul numar corect | 1 |
11 | 0ms | 524kb | OK | 5 |
12 | 88ms | 2368kb | Primul numar corect | 1 |
13 | 84ms | 2304kb | OK | 5 |
14 | 0ms | 516kb | Primul numar corect | 1 |
15 | 0ms | 480kb | OK | 5 |
16 | 0ms | 480kb | Primul numar corect | 1 |
17 | 108ms | 2816kb | Primul numar corect | 1 |
18 | 104ms | 2788kb | OK | 5 |
19 | 76ms | 2408kb | OK | 5 |
20 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 37 |