Pagini recente » Cod sursa (job #138211) | Cod sursa (job #1731111) | Cod sursa (job #1095335) | Cod sursa (job #2758233) | Borderou de evaluare (job #1246369)
Borderou de evaluare (job #1246369)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in","r",stdin);
^
user.cpp:65:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out","w",stdout);
^
user.cpp:66:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:67:41: 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",&v[i]);
^
user.cpp:68:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:71:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&tip,&valoare);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 436kb | OK | 10 | 10 |
| 2 | 0ms | 436kb | OK | 10 | 10 |
| 3 | 0ms | 440kb | OK | 10 | 10 |
| 4 | 4ms | 440kb | OK | 10 | 10 |
| 5 | 24ms | 476kb | OK | 10 | 20 |
| 6 | 80ms | 632kb | OK | 10 |
| 7 | 120ms | 828kb | OK | 10 | 40 |
| 8 | 116ms | 824kb | OK | 10 |
| 9 | 120ms | 824kb | OK | 10 |
| 10 | 124ms | 824kb | OK | 10 |
| Punctaj total | 100 |