Pagini recente » Borderou de evaluare (job #747729) | Borderou de evaluare (job #1676950) | Borderou de evaluare (job #394061) | Borderou de evaluare (job #1470513) | Borderou de evaluare (job #1767195)
Borderou de evaluare (job #1767195)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int (*)()’ [-Wformat=]
printf("%d %d",aux,majoritate);
^
user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in","r",stdin);
^
user.cpp:42:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out","w",stdout);
^
user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:45:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | Incorect | 0 |
2 | 0ms | 452kb | Incorect | 0 |
3 | 0ms | 452kb | Incorect | 0 |
4 | 0ms | 484kb | Incorect | 0 |
5 | 12ms | 644kb | Incorect | 0 |
6 | 28ms | 840kb | Incorect | 0 |
7 | 52ms | 1228kb | Incorect | 0 |
8 | 128ms | 2404kb | Incorect | 0 |
9 | 264ms | 4348kb | Incorect | 0 |
10 | 260ms | 4352kb | Incorect | 0 |
Punctaj total | 0 |