Pagini recente » Borderou de evaluare (job #3155497) | Borderou de evaluare (job #3275602) | Borderou de evaluare (job #756994) | Borderou de evaluare (job #1797907) | Borderou de evaluare (job #2544506)
Borderou de evaluare (job #2544506)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:54:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
main.cpp:56:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i].y);
^
main.cpp: In function 'int minim(int)':
main.cpp:32:18: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
while(f[i]>0) {
~~~^
main.cpp:31:14: note: within this loop
for(i=0;i<10;i++) {
~^~~
main.cpp:19:13: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
f[i]=0;
~~~~^~
main.cpp:18:14: note: within this loop
for(i=0;i<10;i++) {
~^~~
main.cpp: In function 'int main()':
main.cpp:52:34: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,i,j,s,max,nrplmax,nrpl,imax;
^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 131kb | Ok! | 10 | 0 |
| 2 | 3ms | 131kb | Ok! | 10 |
| 3 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 4 | 2ms | 131kb | Afisare gresita a soldatilor! | 7 |
| 5 | 6ms | 131kb | Killed by Signal 11 | 0 |
| 6 | 4ms | 131kb | Ok! | 10 | 0 |
| 7 | 4ms | 131kb | Numar incorect de plutoane! | 0 |
| 8 | 4ms | 131kb | Ok! | 10 |
| 9 | 5ms | 131kb | Ok! | 10 |
| 10 | 2ms | 131kb | Ok! | 10 |
| Punctaj total | 0 |