Pagini recente » Borderou de evaluare (job #2547925) | Borderou de evaluare (job #1055194) | Borderou de evaluare (job #3157867) | Borderou de evaluare (job #526848) | Borderou de evaluare (job #1652399)
Borderou de evaluare (job #1652399)
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:66:14: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
*buff=NULL;
^
user.cpp:62: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:59: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:60: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:61: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 | 268kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 316kb | Incorect | 0 |
5 | 0ms | 312kb | Incorect | 0 |
6 | 28ms | 1280kb | Incorect | 0 |
7 | 32ms | 1252kb | Incorect | 0 |
8 | 72ms | 2220kb | Incorect | 0 |
9 | 68ms | 2236kb | Incorect | 0 |
10 | 64ms | 2256kb | Incorect | 0 |
Punctaj total | 20 |