Pagini recente » Borderou de evaluare (job #837438) | Borderou de evaluare (job #3200412) | Borderou de evaluare (job #982685) | Borderou de evaluare (job #2208560) | Borderou de evaluare (job #1627105)
Borderou de evaluare (job #1627105)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &x);
^
user.cpp:65:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("S %d\n",-v[i].inc);
^
user.cpp:66:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("S %d\n",-v[i].fin);
^
user.cpp:70:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("S %d\n",-v[i].inc);
^
user.cpp:75:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("D %d\n",v[i].fin);
^
user.cpp:76:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("D %d\n",v[i].inc);
^
user.cpp:80:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("D %d\n",v[i].fin);
^
user.cpp:81:40: warning: too many arguments for format [-Wformat-extra-args]
printf("D 0\n",v[i].inc);
^
user.cpp:85:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("S %d\n",-v[i].inc);
^
user.cpp:86:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("D %d\n",v[i].fin);
^
user.cpp:19:33: 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:20:35: 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:21:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:22:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %c\n", &x , &c);
^
user.cpp:31:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %c\n", &x, &c);
^
user.cpp:57:20: 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 | 96ms | 2392kb | Primul numar corect | 1 |
2 | 0ms | 2392kb | Primul numar corect | 1 |
3 | 108ms | 2392kb | Primul numar corect | 1 |
4 | 92ms | 2396kb | Primul numar corect | 1 |
5 | 0ms | 2388kb | Primul numar corect | 1 |
6 | 0ms | 2396kb | Primul numar corect | 1 |
7 | 0ms | 2388kb | Primul numar corect | 1 |
8 | 0ms | 2396kb | Primul numar corect | 1 |
9 | 20ms | 2396kb | Primul numar corect | 1 |
10 | 52ms | 2392kb | Primul numar corect | 1 |
11 | 4ms | 2388kb | Primul numar corect | 1 |
12 | 76ms | 2388kb | Primul numar corect | 1 |
13 | 72ms | 2396kb | Primul numar corect | 1 |
14 | 0ms | 2392kb | Primul numar corect | 1 |
15 | 0ms | 2392kb | Primul numar corect | 1 |
16 | 0ms | 2388kb | Primul numar corect | 1 |
17 | 96ms | 2392kb | Primul numar corect | 1 |
18 | 92ms | 2392kb | Primul numar corect | 1 |
19 | 72ms | 2396kb | Primul numar corect | 1 |
20 | 0ms | 2392kb | Primul numar corect | 1 |
Punctaj total | 20 |