Pagini recente » Borderou de evaluare (job #1151185) | Borderou de evaluare (job #2840290) | Borderou de evaluare (job #2969001) | Borderou de evaluare (job #3294067) | Borderou de evaluare (job #2065814)
Borderou de evaluare (job #2065814)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("echilibru.in","r",stdin);
^
user.cpp:5:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("echilibru.out","w",stdout);
^
user.cpp:7:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:9:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]),S=S+v[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 68ms | 272kb | OK | 100 |
Punctaj total | 100 |