Pagini recente » Borderou de evaluare (job #2291764) | Borderou de evaluare (job #2559751) | Borderou de evaluare (job #326865) | Borderou de evaluare (job #1148405) | Borderou de evaluare (job #2136904)
Borderou de evaluare (job #2136904)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
c[lg+1]=NULL;
^
user.cpp:52:11: warning: unused variable ‘i’ [-Wunused-variable]
int q,i,k;
^
user.cpp:53:19: warning: unused variable ‘p’ [-Wunused-variable]
long long poz,p;
^
user.cpp: In function ‘long long int rez(long long int)’:
user.cpp:48:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:56:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld %d",&lg,&q);
^
user.cpp:57:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c+1,100012,f);
^
user.cpp:58:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c+1,100012,f);
^
user.cpp:62:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&poz);
^
In file included from /usr/include/stdio.h:936:0,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:57:24:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:58:24:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 820kb | Partial corect | 4 |
2 | 0ms | 856kb | Partial corect | 2 |
3 | 0ms | 864kb | Partial corect | 2 |
4 | 0ms | 816kb | Partial corect | 2 |
5 | 16ms | 816kb | Partial corect | 2 |
6 | 20ms | 876kb | Partial corect | 2 |
7 | 20ms | 876kb | Partial corect | 2 |
8 | 24ms | 824kb | Partial corect | 2 |
9 | 0ms | 884kb | Partial corect | 2 |
10 | 0ms | 820kb | Partial corect | 2 |
11 | 0ms | 876kb | Partial corect | 2 |
12 | 0ms | 876kb | Partial corect | 2 |
13 | 24ms | 864kb | Partial corect | 2 |
14 | 28ms | 860kb | Partial corect | 2 |
15 | 32ms | 884kb | Partial corect | 2 |
16 | 40ms | 900kb | Partial corect | 2 |
17 | 52ms | 908kb | Partial corect | 2 |
18 | 68ms | 908kb | Partial corect | 2 |
19 | 72ms | 912kb | Partial corect | 2 |
Punctaj total | 40 |