Pagini recente » Borderou de evaluare (job #1865146) | Borderou de evaluare (job #784264) | Borderou de evaluare (job #1865406) | Borderou de evaluare (job #1966311) | Borderou de evaluare (job #2276628)
Borderou de evaluare (job #2276628)
Raport evaluator
Compilare:
main.cpp: In function 'int check(int)':
main.cpp:17:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nr>poz[sir[i]-'a'].size()) return 0;
~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:25: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);
^
main.cpp:26: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);
^
main.cpp:28:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&q);
^
main.cpp:29:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",sir+1);
^
main.cpp:38:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",sir+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 20 |
2 | 2ms | 131kb | OK | 10 |
3 | 8ms | 655kb | OK | 10 | 20 |
4 | 9ms | 786kb | OK | 10 |
5 | 108ms | 3801kb | OK | 10 | 30 |
6 | 171ms | 3801kb | OK | 10 |
7 | 222ms | 3801kb | OK | 10 |
8 | 423ms | 11677kb | OK | 10 | 30 |
9 | 236ms | 11677kb | OK | 10 |
10 | 309ms | 12193kb | OK | 10 |
Punctaj total | 100 |