Pagini recente » Cod sursa (job #1061379) | Cod sursa (job #1872245) | Borderou de evaluare (job #864680) | Borderou de evaluare (job #2947016) | Borderou de evaluare (job #2268778)
Borderou de evaluare (job #2268778)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:45:13: warning: unused variable 'a' [-Wunused-variable]
int n,i,a,tip,nrad=0,p,val;
^
main.cpp:46: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:47: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:48:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:50:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tip);
^
main.cpp:52:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val);
^
main.cpp:57:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p),sterge(poz[p]);
^
| 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 | 9ms | 131kb | OK | 10 | 10 |
| 5 | 3ms | 131kb | OK | 10 | 60 |
| 6 | 75ms | 655kb | OK | 10 |
| 7 | 140ms | 1703kb | OK | 10 |
| 8 | 133ms | 1441kb | OK | 10 |
| 9 | 152ms | 1179kb | OK | 10 |
| 10 | 141ms | 1179kb | OK | 10 |
| Punctaj total | 100 |