Pagini recente » Borderou de evaluare (job #1958385) | Borderou de evaluare (job #1903340) | Borderou de evaluare (job #400988) | Borderou de evaluare (job #906560) | Borderou de evaluare (job #1518855)
Borderou de evaluare (job #1518855)
Raport evaluator
Compilare:
user.cpp: In function ‘int gasire(long long int, long long int)’:
user.cpp:16:18: warning: unused variable ‘i’ [-Wunused-variable]
long long pp,i,st,dr,m;
^
user.cpp: In function ‘int main()’:
user.cpp:38:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10000001]’ [-Wformat=]
scanf("%s",&s);k=0;
^
user.cpp:41:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat=]
while(scanf("%s",&s1)!=EOF){
^
user.cpp:35:37: warning: variable ‘k2’ set but not used [-Wunused-but-set-variable]
long long nr1,nr2,p1,p2,n,i,k1,k2,nnr1,nnr2,r,cate,j;
^
user.cpp:36:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.in","r",stdin);
^
user.cpp:37:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.out","w",stdout);
^
user.cpp:38:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);k=0;
^
user.cpp:35:30: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized]
long long nr1,nr2,p1,p2,n,i,k1,k2,nnr1,nnr2,r,cate,j;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 0 |
2 | 0ms | 272kb | OK | 10 |
3 | 8ms | 300kb | OK | 10 |
4 | 28ms | 384kb | OK | 10 |
5 | 196ms | 696kb | Incorect | 0 |
6 | 800ms | 1720kb | Incorect | 0 |
7 | Depăşit | 5900kb | Time limit exceeded. | 0 |
8 | Depăşit | 10788kb | Time limit exceeded. | 0 |
9 | Depăşit | 10784kb | Time limit exceeded. | 0 |
10 | Depăşit | 10788kb | Time limit exceeded. | 0 |
Punctaj total | 0 |