Pagini recente » Cod sursa (job #2521336) | Cod sursa (job #94093) | Borderou de evaluare (job #2282201)
Borderou de evaluare (job #2282201)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:7:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.in","r",stdin);
^
main.cpp:8:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.out","w",stdout);
^
main.cpp:10:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:13:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tip);
^
main.cpp:15:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[++ct]);
^
main.cpp:20:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 3ms | 131kb | OK | 10 | 10 |
4 | 12ms | 262kb | OK | 10 | 10 |
5 | 3ms | 131kb | OK | 10 | 60 |
6 | 106ms | 655kb | OK | 10 |
7 | 185ms | 5636kb | OK | 10 |
8 | 219ms | 3407kb | OK | 10 |
9 | 211ms | 1179kb | OK | 10 |
10 | 205ms | 1310kb | OK | 10 |
Punctaj total | 100 |