Pagini recente » Borderou de evaluare (job #2224421) | Borderou de evaluare (job #1073762) | Borderou de evaluare (job #1813931) | Borderou de evaluare (job #2619441) | Borderou de evaluare (job #2643079)
Borderou de evaluare (job #2643079)
Raport evaluator
Compilare:
main.cpp: In function 'bool valid(int)':
main.cpp:37:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz == -1 || poz + k - 1 >= G[lin].size())
~~~~~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:75:26: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=]
scanf("%s\n" , &q);
^
main.cpp:66:17: warning: unused variable 'j' [-Wunused-variable]
int Q , i , j;
^
main.cpp:64:42: 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:65:44: 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:67:30: 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:70:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c" , &s[i]);
^
main.cpp:75:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n" , &q);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 20 |
2 | 2ms | 131kb | OK | 10 |
3 | 21ms | 131kb | OK | 10 | 20 |
4 | 24ms | 131kb | OK | 10 |
5 | 262ms | 393kb | OK | 10 | 30 |
6 | 410ms | 524kb | OK | 10 |
7 | 522ms | 524kb | OK | 10 |
8 | 703ms | 929kb | Time limit exceeded | 0 | 0 |
9 | 462ms | 929kb | OK | 10 |
10 | 701ms | 1314kb | Time limit exceeded | 0 |
Punctaj total | 70 |