Pagini recente » Borderou de evaluare (job #1145426) | Borderou de evaluare (job #1136234) | Cod sursa (job #3137655) | Borderou de evaluare (job #1739132) | Borderou de evaluare (job #1719551)
Borderou de evaluare (job #1719551)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:18: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok=0;int poz=1,sol=1;
^
user.cpp:21:27: warning: variable ‘poz’ set but not used [-Wunused-but-set-variable]
bool ok=0;int poz=1,sol=1;
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("raliu.in", "r", stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("raliu.out", "w", stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:14:70: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;++i) scanf("%d", &a[i]),su+=(long long)+a[i];
^
user.cpp:16:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &d),v[i]=a[i]-d;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 10 |
| 2 | 0ms | 284kb | OK | 10 |
| 3 | 4ms | 296kb | OK | 10 |
| 4 | 124ms | 744kb | OK | 10 |
| 5 | 208ms | 1060kb | OK | 10 |
| 6 | 328ms | 1448kb | OK | 10 |
| 7 | 1476ms | 4964kb | OK | 10 |
| 8 | 2152ms | 7308kb | OK | 10 |
| 9 | 2088ms | 7308kb | OK | 10 |
| 10 | 2276ms | 8080kb | OK | 10 |
| Punctaj total | 100 |