Pagini recente » Borderou de evaluare (job #997595) | Borderou de evaluare (job #908308) | Borderou de evaluare (job #648023) | Borderou de evaluare (job #2203262) | Borderou de evaluare (job #1793250)
Borderou de evaluare (job #1793250)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:22:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[255]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp: In function ‘void afisare()’:
user.cpp:76:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=]
printf("%d ",a[j]-1);
^
user.cpp: In function ‘void citire()’:
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.in","r",stdin);
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Incorect | 0 |
2 | 0ms | 304kb | Incorect | 0 |
3 | 0ms | 348kb | Incorect | 0 |
4 | 0ms | 452kb | Incorect | 0 |
5 | 12ms | 756kb | Incorect | 0 |
6 | 20ms | 968kb | Incorect | 0 |
7 | 20ms | 964kb | Incorect | 0 |
8 | 20ms | 968kb | Incorect | 0 |
9 | 20ms | 1020kb | Incorect | 0 |
10 | 20ms | 1024kb | Incorect | 0 |
Punctaj total | 0 |