Pagini recente » Borderou de evaluare (job #1119517) | Borderou de evaluare (job #1428095) | Borderou de evaluare (job #2986394) | Borderou de evaluare (job #1378571) | Borderou de evaluare (job #1996378)
Borderou de evaluare (job #1996378)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:19:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&temp);
^
user.cpp:24:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&temp);
^
user.cpp:32:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",s);
^
user.cpp:13:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permut.in","r",stdin);
^
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permut.out","w",stdout);
^
user.cpp:16:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&temp);
^
user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&temp);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 296kb | Incorect | 0 |
4 | 0ms | 296kb | Incorect | 0 |
5 | 60ms | 1164kb | Incorect | 0 |
6 | 116ms | 1944kb | Incorect | 0 |
7 | 120ms | 1948kb | Incorect | 0 |
8 | 136ms | 1948kb | Incorect | 0 |
9 | 124ms | 1952kb | Incorect | 0 |
10 | 128ms | 1948kb | Incorect | 0 |
Punctaj total | 0 |