Pagini recente » Borderou de evaluare (job #645237) | Borderou de evaluare (job #2167527) | Borderou de evaluare (job #1904443) | Borderou de evaluare (job #1754101) | Borderou de evaluare (job #2223509)
Borderou de evaluare (job #2223509)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d D\n",C2);
^
user.cpp:54:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d D\n", C1 );
^
user.cpp:59:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d S\n", -1 * C1 );
^
user.cpp:60:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d S",-1 * C2);
^
user.cpp:65:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d S\n", -1 * C1 );
^
user.cpp:67:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d S",-1 * C2);
^
user.cpp:69:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d D\n",C2);
^
user.cpp:72:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d D\n",C2);
^
user.cpp:73:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d D\n", C1);
^
user.cpp:76:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d S",-1 * C2);
^
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]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 68ms | 880kb | Primul numar corect | 1 |
2 | 0ms | 756kb | OK | 5 |
3 | 64ms | 796kb | OK | 5 |
4 | 64ms | 752kb | OK | 5 |
5 | 0ms | 796kb | OK | 5 |
6 | 0ms | 936kb | OK | 5 |
7 | 0ms | 876kb | OK | 5 |
8 | 0ms | 860kb | OK | 5 |
9 | 24ms | 876kb | OK | 5 |
10 | 24ms | 752kb | OK | 5 |
11 | 0ms | 856kb | OK | 5 |
12 | 52ms | 936kb | OK | 5 |
13 | 48ms | 868kb | OK | 5 |
14 | 0ms | 880kb | OK | 5 |
15 | 0ms | 864kb | OK | 5 |
16 | 0ms | 756kb | OK | 5 |
17 | 64ms | 872kb | OK | 5 |
18 | 64ms | 936kb | OK | 5 |
19 | 44ms | 808kb | OK | 5 |
20 | 0ms | 760kb | OK | 5 |
Punctaj total | 96 |