Pagini recente » Borderou de evaluare (job #737832) | Borderou de evaluare (job #897803) | Borderou de evaluare (job #224363) | Borderou de evaluare (job #1933492) | Borderou de evaluare (job #1652386)
Borderou de evaluare (job #1652386)
Raport evaluator
Compilare:
user.cpp: In function ‘bool parsare()’:
user.cpp:23:17: warning: NULL used in arithmetic [-Wpointer-arith]
if((*buff)==NULL)
^
user.cpp:26:20: warning: NULL used in arithmetic [-Wpointer-arith]
while(buff[i]!=NULL){
^
user.cpp: In function ‘int main()’:
user.cpp:59:14: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
*buff=NULL;
^
user.cpp:56:9: warning: variable ‘ci’ set but not used [-Wunused-but-set-variable]
int ci=1;
^
user.cpp: In function ‘bool parsare()’:
user.cpp:22:29: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,4096,1,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:53:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici4.in","r",stdin);
^
user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici4.out","w",stdout);
^
user.cpp:55:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 324kb | Incorect | 0 |
5 | 0ms | 308kb | Incorect | 0 |
6 | 28ms | 1284kb | Incorect | 0 |
7 | 32ms | 1252kb | Incorect | 0 |
8 | 72ms | 2200kb | Incorect | 0 |
9 | 68ms | 2228kb | Incorect | 0 |
10 | 64ms | 2256kb | Incorect | 0 |
Punctaj total | 20 |