Pagini recente » Borderou de evaluare (job #2542913) | Borderou de evaluare (job #3221526) | Borderou de evaluare (job #1735100) | Borderou de evaluare (job #2988260) | Borderou de evaluare (job #1541778)
Borderou de evaluare (job #1541778)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d %d",&n,&b);
^
user.cpp:27:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",a);
^
user.cpp:12:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.in","r",stdin);
^
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("buget.out","w",stdout);
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&b);
^
user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 0ms | 272kb | Incorect | 0 |
6 | 0ms | 272kb | Incorect | 0 |
7 | 16ms | 404kb | Incorect | 0 |
8 | 16ms | 408kb | Incorect | 0 |
9 | 36ms | 600kb | Incorect | 0 |
10 | 36ms | 600kb | Incorect | 0 |
Punctaj total | 40 |