Pagini recente » Borderou de evaluare (job #2850080) | Borderou de evaluare (job #2843776) | Borderou de evaluare (job #1540424) | Borderou de evaluare (job #1037037) | Borderou de evaluare (job #1540412)
Borderou de evaluare (job #1540412)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:16:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:23:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&aux);
^
user.cpp:32:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for(u=j=1;j<=n;++j)
^
user.cpp:13:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.in","rt",stdin);
^
user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.out","wt",stdout);
^
user.cpp:16:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 404kb | Incorect | 0 | 0 |
2 | 0ms | 408kb | Incorect | 0 |
3 | 0ms | 404kb | Incorect | 0 |
4 | 0ms | 408kb | Incorect | 0 |
5 | 0ms | 408kb | Incorect | 0 |
6 | 0ms | 412kb | Incorect | 0 | 0 |
7 | 0ms | 408kb | Incorect | 0 |
8 | 0ms | 408kb | Incorect | 0 |
9 | 0ms | 404kb | Incorect | 0 |
10 | 0ms | 408kb | Incorect | 0 |
Punctaj total | 0 |