Pagini recente » Borderou de evaluare (job #2240293) | Borderou de evaluare (job #2655554) | Borderou de evaluare (job #2053658) | Borderou de evaluare (job #156220) | Borderou de evaluare (job #1186168)
Borderou de evaluare (job #1186168)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:6: warning: variable ‘sum’ set but not used [-Wunused-but-set-variable]
int sum;
^
user.cpp:18:6: warning: unused variable ‘n’ [-Wunused-variable]
int n;
^
user.cpp:8:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sase49.in","r",stdin);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sase49.out","w",stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cases);
^
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&numere[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 100 |
Punctaj total | 100 |