Pagini recente » Borderou de evaluare (job #98359) | Borderou de evaluare (job #34270) | Borderou de evaluare (job #1642582) | Borderou de evaluare (job #264648) | Borderou de evaluare (job #1218200)
Borderou de evaluare (job #1218200)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d",&n,&p,&k);
^
user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&a,&b);
^
user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:24:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n%d",maxim,sol);
^
user.cpp:24:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gradina3.in","r",stdin);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gradina3.out","w",stdout);
^
user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&p,&k);
^
user.cpp:12:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | Incorect | 0 |
2 | 0ms | 388kb | Incorect | 0 |
3 | 0ms | 488kb | Incorect | 0 |
4 | 4ms | 2200kb | Incorect | 0 |
5 | 20ms | 7964kb | Incorect | 0 |
6 | 20ms | 7568kb | Incorect | 0 |
7 | 28ms | 11340kb | Incorect | 0 |
8 | 164ms | 12924kb | Incorect | 0 |
9 | 196ms | 12344kb | Incorect | 0 |
10 | 432ms | 16096kb | Incorect | 0 |
Punctaj total | 0 |