Pagini recente » Cod sursa (job #469854) | Borderou de evaluare (job #1441588) | Cod sursa (job #522609) | Cod sursa (job #320205) | Borderou de evaluare (job #1823471)
Borderou de evaluare (job #1823471)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:20: warning: unused variable ‘k’ [-Wunused-variable]
int c,n,i,nr,j,k,z;
^
user.cpp:16:22: warning: unused variable ‘z’ [-Wunused-variable]
int c,n,i,nr,j,k,z;
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rafturi.in","r",stdin);
^
user.cpp:18:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rafturi.out","w",stdout);
^
user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&c,&n);
^
user.cpp:21:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&r[i].x,&r[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 352kb | OK | 10 |
| 5 | 0ms | 380kb | OK | 10 |
| 6 | 4ms | 408kb | OK | 10 |
| 7 | 4ms | 408kb | OK | 10 |
| 8 | 4ms | 448kb | OK | 10 |
| 9 | 4ms | 464kb | OK | 10 |
| 10 | 36ms | 800kb | OK | 10 |
| Punctaj total | 100 |