Pagini recente » Borderou de evaluare (job #1219376) | Borderou de evaluare (job #2334868) | Borderou de evaluare (job #1328119) | Borderou de evaluare (job #1745537) | Borderou de evaluare (job #1606638)
Borderou de evaluare (job #1606638)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d%d",&n,&k,&l,&u);
^
user.cpp:13:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:13:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:13:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:29:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",s);
^
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in","r",stdin);
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out","w",stdout);
^
user.cpp:13:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&k,&l,&u);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 4ms | 324kb | OK | 10 |
4 | 16ms | 464kb | OK | 10 |
5 | 32ms | 656kb | OK | 10 |
6 | 52ms | 1420kb | OK | 10 |
7 | 60ms | 1072kb | OK | 10 |
8 | 76ms | 1332kb | OK | 10 |
9 | 124ms | 2100kb | OK | 10 |
10 | 164ms | 2220kb | Incorect | 0 |
Punctaj total | 90 |