Pagini recente » Borderou de evaluare (job #1294711) | Borderou de evaluare (job #2527166) | Borderou de evaluare (job #2824982) | Borderou de evaluare (job #2084568) | Borderou de evaluare (job #2223510)
Borderou de evaluare (job #2223510)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:18: warning: unused variable ‘D1’ [-Wunused-variable]
char dir , c , D1 , D2;
^~
user.cpp:10:23: warning: unused variable ‘D2’ [-Wunused-variable]
char dir , c , D1 , D2;
^~
user.cpp:4:31: 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:5:33: 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:7:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %c ", &nr, &dir);
^
user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
user.cpp:17:31: 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:18:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %c ", &nr,&c);
^
user.cpp:25:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %c ", &nr,&c);
^
user.cpp:39:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %c ", &nr, &c);
^
user.cpp:43:10: warning: ‘C2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
C2 = C2 + nr/2;
~~~^~~~~~~~~~~
user.cpp:42:10: warning: ‘C1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
C1 = C1 + nr/2;
~~~^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 68ms | 812kb | OK | 5 |
2 | 0ms | 864kb | OK | 5 |
3 | 64ms | 752kb | OK | 5 |
4 | 68ms | 752kb | OK | 5 |
5 | 0ms | 808kb | OK | 5 |
6 | 0ms | 800kb | OK | 5 |
7 | 0ms | 756kb | OK | 5 |
8 | 0ms | 812kb | OK | 5 |
9 | 20ms | 792kb | OK | 5 |
10 | 24ms | 872kb | OK | 5 |
11 | 0ms | 868kb | OK | 5 |
12 | 48ms | 804kb | OK | 5 |
13 | 48ms | 868kb | OK | 5 |
14 | 0ms | 876kb | OK | 5 |
15 | 0ms | 876kb | OK | 5 |
16 | 0ms | 756kb | OK | 5 |
17 | 64ms | 856kb | OK | 5 |
18 | 64ms | 864kb | OK | 5 |
19 | 44ms | 796kb | OK | 5 |
20 | 0ms | 860kb | OK | 5 |
Punctaj total | 100 |