Pagini recente » Borderou de evaluare (job #1387682) | Borderou de evaluare (job #2847028) | Borderou de evaluare (job #723082) | Borderou de evaluare (job #368227) | Borderou de evaluare (job #1219487)
Borderou de evaluare (job #1219487)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d %c\n",&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: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:75: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:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d %c\n",&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 | 80ms | 2116kb | Raspuns gresit | 0 |
2 | 0ms | 460kb | Primul numar corect | 1 |
3 | 120ms | 2116kb | Raspuns gresit | 0 |
4 | 120ms | 2112kb | Raspuns gresit | 0 |
5 | 0ms | 460kb | Primul numar corect | 1 |
6 | 0ms | 456kb | Primul numar corect | 1 |
7 | 0ms | 460kb | Primul numar corect | 1 |
8 | 0ms | 456kb | Primul numar corect | 1 |
9 | 36ms | 1336kb | Primul numar corect | 1 |
10 | 44ms | 1332kb | Primul numar corect | 1 |
11 | 0ms | 516kb | Primul numar corect | 1 |
12 | 88ms | 1960kb | Primul numar corect | 1 |
13 | 84ms | 1936kb | Primul numar corect | 1 |
14 | 0ms | 516kb | Primul numar corect | 1 |
15 | 0ms | 464kb | Primul numar corect | 1 |
16 | 0ms | 464kb | Primul numar corect | 1 |
17 | 112ms | 2116kb | Primul numar corect | 1 |
18 | 108ms | 2104kb | Primul numar corect | 1 |
19 | 76ms | 1976kb | Primul numar corect | 1 |
20 | 0ms | 464kb | Primul numar corect | 1 |
Punctaj total | 17 |