Pagini recente » Cod sursa (job #3341600) | Cod sursa (job #3339649) | Cod sursa (job #3341599) | Cod sursa (job #3359130) | Borderou de evaluare (job #1238302)
Borderou de evaluare (job #1238302)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:38: 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);
^
user.cpp:49:40: 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);
^
user.cpp:50:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &op);
^
user.cpp:54:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(op==1 || op==2) scanf("%d", &nr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 264kb | OK | 10 | 10 |
| 2 | 0ms | 264kb | OK | 10 | 10 |
| 3 | 0ms | 272kb | OK | 10 | 10 |
| 4 | 4ms | 304kb | OK | 10 | 10 |
| 5 | 24ms | 444kb | OK | 10 | 60 |
| 6 | 52ms | 612kb | OK | 10 |
| 7 | 100ms | 1432kb | OK | 10 |
| 8 | 92ms | 1076kb | OK | 10 |
| 9 | 100ms | 956kb | OK | 10 |
| 10 | 108ms | 960kb | OK | 10 |
| Punctaj total | 100 |