Pagini recente » Borderou de evaluare (job #1347357) | Borderou de evaluare (job #2332353) | Borderou de evaluare (job #57121) | Borderou de evaluare (job #709410) | Borderou de evaluare (job #1676597)
Borderou de evaluare (job #1676597)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:11:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %d",&n,&k,&p);
^
user.cpp:19:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",d[n]);
^
user.cpp:10:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:11:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&k,&p);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("caluti.in","r",stdin);
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("caluti.out","w",stdout);
^
user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 272kb | OK | 10 |
6 | 108ms | 644kb | Incorect | 0 |
7 | 208ms | 1016kb | Incorect | 0 |
8 | 336ms | 1428kb | Incorect | 0 |
9 | 324ms | 1432kb | Incorect | 0 |
10 | 324ms | 1436kb | Incorect | 0 |
Punctaj total | 30 |