Pagini recente » Borderou de evaluare (job #1334473) | Borderou de evaluare (job #427118) | Borderou de evaluare (job #158716) | Borderou de evaluare (job #635871) | Borderou de evaluare (job #1695560)
Borderou de evaluare (job #1695560)
Raport evaluator
Compilare:
user.cpp: In function ‘void lee(int, int, int (*)[1005][4])’:
user.cpp:40:15: warning: unused variable ‘currentL’ [-Wunused-variable]
int i,j,k,currentL,currentC,currentDirection,currentCost;
^
user.cpp:40:24: warning: unused variable ‘currentC’ [-Wunused-variable]
int i,j,k,currentL,currentC,currentDirection,currentCost;
^
user.cpp:40:33: warning: unused variable ‘currentDirection’ [-Wunused-variable]
int i,j,k,currentL,currentC,currentDirection,currentCost;
^
user.cpp:40:50: warning: unused variable ‘currentCost’ [-Wunused-variable]
int i,j,k,currentL,currentC,currentDirection,currentCost;
^
user.cpp: In function ‘int main()’:
user.cpp:64:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("robot2.in","r",stdin);
^
user.cpp:65:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("robot2.out","w",stdout);
^
user.cpp:67:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:73:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:79:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
^
/tmp/cc5GE1K0.o: In function `main':
user.cpp:(.text.startup+0x100): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 408kb | Corect! | 10 |
2 | 0ms | 1108kb | Corect! | 10 |
3 | 8ms | 2316kb | Corect! | 10 |
4 | 76ms | 12200kb | Corect! | 10 |
5 | 60ms | 11220kb | Corect! | 10 |
6 | 236ms | 29608kb | Corect! | 10 |
7 | 236ms | 29604kb | Corect! | 10 |
8 | Depăşit | 97984kb | Time limit exceeded. | 0 |
9 | 252ms | 48692kb | Corect! | 10 |
10 | 148ms | 28176kb | Corect! | 10 |
Punctaj total | 90 |