Pagini recente » Borderou de evaluare (job #1248364) | Borderou de evaluare (job #1426577) | Borderou de evaluare (job #541676) | Borderou de evaluare (job #3249632) | Borderou de evaluare (job #2249975)
Borderou de evaluare (job #2249975)
Raport evaluator
Compilare:
user.cpp: In function ‘int check(int, int)’:
user.cpp:31:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (last>=poz[ch2[i]-'a'+1].size())
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp:9:30: warning: unused variable ‘j’ [-Wunused-variable]
int p=0,i,st,dr,mij,last,j;
^
user.cpp: In function ‘int main()’:
user.cpp:41:15: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,q,j,e,m,st,dr,mij,last;
^
user.cpp:41:17: warning: unused variable ‘e’ [-Wunused-variable]
int n,i,q,j,e,m,st,dr,mij,last;
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("balbaiala.in","r",stdin);
^
user.cpp:40:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("balbaiala.out","w",stdout);
^
user.cpp:42:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&q);
^
user.cpp:43:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(ch+1,100003,stdin);
^
user.cpp:48:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(ch2+1,100003,stdin);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 792kb | OK | 10 | 20 |
✗ | 2 | 0ms | 868kb | OK | 10 |
✗ | 3 | 12ms | 764kb | OK | 10 | 20 |
✓ | 4 | 16ms | 856kb | OK | 10 |
✓ | 5 | 212ms | 888kb | OK | 10 | 30 |
✗ | 6 | 336ms | 932kb | OK | 10 |
✗ | 7 | 468ms | 884kb | OK | 10 |
✓ | 8 | 600ms | 1256kb | OK | 10 | 30 |
✗ | 9 | 356ms | 1448kb | OK | 10 |
✗ | 10 | 548ms | 1280kb | OK | 10 |
Punctaj total | 100 |