Pagini recente » Borderou de evaluare (job #1239241) | Borderou de evaluare (job #2027743) | Borderou de evaluare (job #2946952) | Borderou de evaluare (job #930322) | Borderou de evaluare (job #1744299)
Borderou de evaluare (job #1744299)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&p);
^
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&n,&v);
^
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:123:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d %d\n",linie,coloana,inaltime);
^
user.cpp:123:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:123:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:158:19: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
y=n<<1+(n-2)<<1;
^
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cub2.in","r",stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cub2.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Corect | 2 |
2 | 0ms | 264kb | Corect | 2 |
3 | 0ms | 280kb | Corect | 2 |
4 | 0ms | 316kb | Corect | 2 |
5 | 0ms | 344kb | Corect | 2 |
6 | 0ms | 352kb | Corect | 2 |
7 | 0ms | 392kb | Corect | 2 |
8 | 0ms | 408kb | Corect | 2 |
9 | 0ms | 412kb | Corect | 2 |
10 | 0ms | 420kb | Corect | 2 |
11 | 0ms | 268kb | Corect | 8 |
12 | 0ms | 272kb | Corect | 8 |
13 | 0ms | 320kb | Corect | 8 |
14 | 0ms | 432kb | Corect | 8 |
15 | 4ms | 708kb | Corect | 8 |
16 | 52ms | 2316kb | Corect | 8 |
17 | 136ms | 3500kb | Corect | 8 |
18 | 252ms | 5064kb | Corect | 8 |
19 | 324ms | 6056kb | Corect | 8 |
20 | Depăşit | 8044kb | Time limit exceeded. | 0 |
Punctaj total | 92 |