Pagini recente » Borderou de evaluare (job #2669776) | Borderou de evaluare (job #1888381) | Borderou de evaluare (job #1338790) | Borderou de evaluare (job #3168292) | Borderou de evaluare (job #1325309)
Borderou de evaluare (job #1325309)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:32: warning: variable ‘poz2’ set but not used [-Wunused-but-set-variable]
int minim1,minim2,poz1,poz2;
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.in","r",stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.out","w",stdout);
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&M);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&P[i]);
^
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&C[i]);
^
user.cpp:39:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&A[j]);
^
user.cpp:43:25: warning: ‘poz1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
C[j]=A[j]+B[j]+minim2;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 12ms | 260kb | OK | 10 | 30 |
| 2 | 8ms | 256kb | OK | 10 |
| 3 | 0ms | 252kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 | 30 |
| 5 | 0ms | 260kb | OK | 10 |
| 6 | 0ms | 260kb | OK | 10 |
| 7 | 0ms | 256kb | OK | 10 | 40 |
| 8 | 0ms | 256kb | OK | 10 |
| 9 | 0ms | 256kb | OK | 10 |
| 10 | 12ms | 260kb | OK | 10 |
| Punctaj total | 100 |