Pagini recente » Borderou de evaluare (job #2806432) | Borderou de evaluare (job #732797) | Borderou de evaluare (job #1042796) | Borderou de evaluare (job #871147) | Borderou de evaluare (job #1219473)
Borderou de evaluare (job #1219473)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57: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:59:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",sum);
^
user.cpp:61:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<a.size();i++){
^
user.cpp:74:76: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d %c\n%I64d %c",start.pos,start.op,stop.pos,stop.op);
^
user.cpp:74:76: 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("%ld %c\n",&x,&op);
^
user.cpp:54: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 | 40ms | 2096kb | Raspuns gresit | 0 |
2 | 0ms | 448kb | Primul numar corect | 1 |
3 | 40ms | 2092kb | Raspuns gresit | 0 |
4 | 40ms | 2092kb | Raspuns gresit | 0 |
5 | 0ms | 436kb | Primul numar corect | 1 |
6 | 0ms | 436kb | Primul numar corect | 1 |
7 | 0ms | 452kb | Primul numar corect | 1 |
8 | 0ms | 448kb | Primul numar corect | 1 |
9 | 12ms | 1308kb | Primul numar corect | 1 |
10 | 16ms | 1304kb | Primul numar corect | 1 |
11 | 0ms | 500kb | Primul numar corect | 1 |
12 | 36ms | 1940kb | Primul numar corect | 1 |
13 | 32ms | 1916kb | Primul numar corect | 1 |
14 | 0ms | 500kb | Primul numar corect | 1 |
15 | 0ms | 444kb | Primul numar corect | 1 |
16 | 0ms | 444kb | Primul numar corect | 1 |
17 | 40ms | 2092kb | Primul numar corect | 1 |
18 | 40ms | 2088kb | Primul numar corect | 1 |
19 | 28ms | 1952kb | Primul numar corect | 1 |
20 | 0ms | 452kb | Primul numar corect | 1 |
Punctaj total | 17 |