Pagini recente » Borderou de evaluare (job #958440) | Borderou de evaluare (job #2813346) | Borderou de evaluare (job #1639946) | Borderou de evaluare (job #1534334) | Borderou de evaluare (job #1219489)
Borderou de evaluare (job #1219489)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d %c",&x,&op);
^
user.cpp:58:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<D.size();i++) a.push_back(D[i]);
^
user.cpp:60:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",sum);
^
user.cpp:62:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<a.size();i++){
^
user.cpp:75:78: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d %c\n%I64d %c\n",start.pos,start.op,stop.pos,stop.op);
^
user.cpp:75:78: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:42: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:43: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:45:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&n);
^
user.cpp:47:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d %c",&x,&op);
^
user.cpp:55:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&targ);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 76ms | 2116kb | Raspuns gresit | 0 |
2 | 0ms | 460kb | Primul numar corect | 1 |
3 | 120ms | 2116kb | Raspuns gresit | 0 |
4 | 124ms | 2108kb | Raspuns gresit | 0 |
5 | 0ms | 460kb | Primul numar corect | 1 |
6 | 0ms | 464kb | Primul numar corect | 1 |
7 | 0ms | 456kb | Primul numar corect | 1 |
8 | 0ms | 464kb | Primul numar corect | 1 |
9 | 40ms | 1332kb | Primul numar corect | 1 |
10 | 44ms | 1328kb | Primul numar corect | 1 |
11 | 0ms | 512kb | Primul numar corect | 1 |
12 | 88ms | 1960kb | Primul numar corect | 1 |
13 | 84ms | 1932kb | Primul numar corect | 1 |
14 | 0ms | 512kb | Primul numar corect | 1 |
15 | 0ms | 456kb | Primul numar corect | 1 |
16 | 0ms | 460kb | Primul numar corect | 1 |
17 | 108ms | 2116kb | Primul numar corect | 1 |
18 | 104ms | 2104kb | Primul numar corect | 1 |
19 | 72ms | 1976kb | Primul numar corect | 1 |
20 | 0ms | 456kb | Primul numar corect | 1 |
Punctaj total | 17 |