Pagini recente » Borderou de evaluare (job #2830378) | Borderou de evaluare (job #2577543) | Borderou de evaluare (job #1481597) | Borderou de evaluare (job #1630905) | Borderou de evaluare (job #1518386)
Borderou de evaluare (job #1518386)
Raport evaluator
Compilare:
user.cpp: In function ‘int gasire(int, int)’:
user.cpp:16:9: warning: variable ‘pp’ set but not used [-Wunused-but-set-variable]
int pp,i,cas=0;
^
user.cpp: In function ‘int main()’:
user.cpp:27:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10000001]’ [-Wformat=]
scanf("%s",&s);k=0;
^
user.cpp:30:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat=]
while(scanf("%s",&s1)!=EOF){
^
user.cpp:25: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:26: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:27: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:24:23: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int nr1,nr2,p1,p2,n,i,k1,nnr1,nnr2,r,cate,j;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | OK | 10 | 0 |
2 | 0ms | 252kb | OK | 10 |
3 | 12ms | 352kb | OK | 10 |
4 | 148ms | 560kb | OK | 10 |
5 | 40ms | 1196kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 80ms | 1976kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 160ms | 5888kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 200ms | 10768kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 200ms | 10764kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 204ms | 10768kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |