Pagini recente » Borderou de evaluare (job #1525734) | Borderou de evaluare (job #2149676) | Borderou de evaluare (job #2913997) | Borderou de evaluare (job #505179) | Borderou de evaluare (job #1695565)
Borderou de evaluare (job #1695565)
Raport evaluator
Compilare:
user.cpp: In function ‘void lee(int, int, int (*)[1005][4])’:
user.cpp:38:15: warning: unused variable ‘currentL’ [-Wunused-variable]
int i,j,k,currentL,currentC,currentDirection,currentCost;
^
user.cpp:38:24: warning: unused variable ‘currentC’ [-Wunused-variable]
int i,j,k,currentL,currentC,currentDirection,currentCost;
^
user.cpp:38:33: warning: unused variable ‘currentDirection’ [-Wunused-variable]
int i,j,k,currentL,currentC,currentDirection,currentCost;
^
user.cpp:38: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/cc5NYcdC.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 | 404kb | Corect! | 10 |
2 | 0ms | 1108kb | Corect! | 10 |
3 | 4ms | 2316kb | Corect! | 10 |
4 | 64ms | 12200kb | Corect! | 10 |
5 | 52ms | 11224kb | Corect! | 10 |
6 | 192ms | 29604kb | Corect! | 10 |
7 | 188ms | 29604kb | Corect! | 10 |
8 | 632ms | 97980kb | Corect! | 10 |
9 | 212ms | 48688kb | Corect! | 10 |
10 | 116ms | 28172kb | Corect! | 10 |
Punctaj total | 100 |