Pagini recente » Borderou de evaluare (job #2726276) | Borderou de evaluare (job #2510507) | Borderou de evaluare (job #1021107) | Borderou de evaluare (job #2140683) | Borderou de evaluare (job #1301226)
Borderou de evaluare (job #1301226)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",suma);
^
user.cpp:44:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d S\n",suma-nrs);
^
user.cpp:46:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d D",suma-nrd);
^
user.cpp:48:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d S",nrd-suma);
^
user.cpp:52:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d D\n0 D",suma-nrd);
^
user.cpp:54:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d D\n%I64d D",suma-nrd,nrs-suma);
^
user.cpp:54:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("7-vase.in","r",stdin);
^
user.cpp:8:32: 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:15:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %c\n",&x,&dir);
^
user.cpp:37:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1812kb | Raspuns gresit | 0 |
2 | 0ms | 1816kb | Raspuns gresit | 0 |
3 | 0ms | 1816kb | Raspuns gresit | 0 |
4 | 0ms | 1816kb | Raspuns gresit | 0 |
5 | 0ms | 1812kb | Raspuns gresit | 0 |
6 | 0ms | 1812kb | Raspuns gresit | 0 |
7 | 0ms | 1816kb | Raspuns gresit | 0 |
8 | 0ms | 1820kb | Raspuns gresit | 0 |
9 | 0ms | 1816kb | Raspuns gresit | 0 |
10 | 0ms | 1816kb | Raspuns gresit | 0 |
11 | 0ms | 1812kb | Raspuns gresit | 0 |
12 | 0ms | 1816kb | Raspuns gresit | 0 |
13 | 0ms | 1812kb | Raspuns gresit | 0 |
14 | 0ms | 1812kb | Raspuns gresit | 0 |
15 | 0ms | 1816kb | Raspuns gresit | 0 |
16 | 0ms | 1816kb | Raspuns gresit | 0 |
17 | 0ms | 1820kb | Raspuns gresit | 0 |
18 | 0ms | 1816kb | Raspuns gresit | 0 |
19 | 0ms | 1812kb | Raspuns gresit | 0 |
20 | 0ms | 1816kb | Raspuns gresit | 0 |
Punctaj total | 0 |