Pagini recente » Borderou de evaluare (job #2531815) | Borderou de evaluare (job #307346) | Borderou de evaluare (job #483314) | Cod sursa (job #3182477) | Borderou de evaluare (job #1781823)
Borderou de evaluare (job #1781823)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&n); int x;
^
user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname.in","r",stdin);
^
user.cpp:18:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname.out","w",stdout);
^
user.cpp:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); int x;
^
user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d",&x);p1[x]=i;}
^
user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);p2[x]=i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 468kb | OK | 10 |
4 | 0ms | 472kb | OK | 10 |
5 | 200ms | 2232kb | OK | 10 |
6 | 196ms | 2232kb | OK | 10 |
7 | 200ms | 2236kb | OK | 10 |
8 | 208ms | 2232kb | OK | 10 |
9 | 184ms | 2236kb | OK | 10 |
10 | 188ms | 2232kb | OK | 10 |
Punctaj total | 100 |