Pagini recente » Borderou de evaluare (job #752024) | Borderou de evaluare (job #804652) | Borderou de evaluare (job #1180742) | Borderou de evaluare (job #2049804) | Borderou de evaluare (job #1717432)
Borderou de evaluare (job #1717432)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste(int&)’:
user.cpp:23:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:29:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:39:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("robot3.in","r",stdin);
^
user.cpp:40:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("robot3.out","w",stdout);
^
user.cpp:46:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&n,&m,&x,&y);
^
user.cpp:47:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&pass);
^
user.cpp:49:28: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin);
^
user.cpp:101:18: warning: ‘init’ may be used uninitialized in this function [-Wmaybe-uninitialized]
energy = init;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 396kb | OK | 10 |
2 | 0ms | 408kb | OK | 10 |
3 | 0ms | 400kb | OK | 10 |
4 | 12ms | 444kb | OK | 10 |
5 | 36ms | 408kb | OK | 10 |
6 | 36ms | 408kb | OK | 10 |
7 | 20ms | 464kb | OK | 10 |
8 | 16ms | 444kb | OK | 10 |
9 | 36ms | 472kb | OK | 10 |
10 | 16ms | 472kb | OK | 10 |
Punctaj total | 100 |