Pagini recente » Borderou de evaluare (job #2171722) | Borderou de evaluare (job #1736849) | Borderou de evaluare (job #122300) | Borderou de evaluare (job #1856372) | Borderou de evaluare (job #2466876)
Borderou de evaluare (job #2466876)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:19: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000100]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:21:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<strlen(s); i++)
~^~~~~~~~~~
main.cpp:30:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<t.size()-1; i++)
~^~~~~~~~~~~
main.cpp:45:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<t.size()-1; i++)
~^~~~~~~~~~~
main.cpp:58:19: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000100]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:65:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<strlen(s); i++)
~^~~~~~~~~~
main.cpp:73:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<t.size()-1; i++)
~^~~~~~~~~~~
main.cpp:86:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<t.size()-1; i++)
~^~~~~~~~~~~
main.cpp:100:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", sol);
^
main.cpp:16:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("unicat.in", "r", stdin);
^
main.cpp:17:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("unicat.out", "w", stdout);
^
main.cpp:18:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
main.cpp:58:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 21ms | 12582kb | OK | 10 | 10 |
2 | 25ms | 12451kb | OK | 10 | 10 |
3 | 25ms | 12451kb | OK | 10 | 10 |
4 | 1200ms | 655kb | Time limit exceeded | 0 | 0 |
5 | 1201ms | 634kb | Time limit exceeded | 0 | 0 |
6 | 1200ms | 655kb | Time limit exceeded | 0 | 0 |
7 | 1201ms | 741kb | Time limit exceeded | 0 | 0 |
8 | 1200ms | 655kb | Time limit exceeded | 0 |
9 | 1200ms | 716kb | Time limit exceeded | 0 | 0 |
10 | 1200ms | 655kb | Time limit exceeded | 0 |
Punctaj total | 30 |