Pagini recente » Borderou de evaluare (job #664997) | Borderou de evaluare (job #678320) | Borderou de evaluare (job #1836044) | Autentificare | Borderou de evaluare (job #1775403)
Borderou de evaluare (job #1775403)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&n); int x;
^
user.cpp:18: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:19: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:20: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:22: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:25: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 | 292kb | OK | 10 |
| 3 | 0ms | 472kb | OK | 10 |
| 4 | 0ms | 472kb | OK | 10 |
| 5 | 196ms | 2232kb | OK | 10 |
| 6 | 204ms | 2232kb | OK | 10 |
| 7 | 200ms | 2228kb | OK | 10 |
| 8 | 204ms | 2236kb | OK | 10 |
| 9 | 192ms | 2228kb | OK | 10 |
| 10 | 184ms | 2236kb | OK | 10 |
| Punctaj total | 100 |