Pagini recente » Borderou de evaluare (job #2044600) | Borderou de evaluare (job #3276064) | Borderou de evaluare (job #190939) | Borderou de evaluare (job #575544) | Borderou de evaluare (job #2470276)
Borderou de evaluare (job #2470276)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<strlen(s); i++)
~^~~~~~~~~~
main.cpp:41:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<sol.size(); i++) printf("%c", sol[i]);
~^~~~~~~~~~~
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("texttrim.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("texttrim.out","w",stdout);
^
main.cpp:19:53: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=0; i<=26; i++) scanf("%d\n", &cost[i]);
^
main.cpp:21:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%[^\n]",s);
^
main.cpp:22:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 0 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 10ms | 131kb | OK | 10 |
6 | 6ms | 393kb | OK | 10 |
7 | 11ms | 1179kb | OK | 10 |
8 | 150ms | 1179kb | Time limit exceeded | 0 |
9 | 141ms | 1310kb | OK | 10 |
10 | 152ms | 1179kb | Time limit exceeded | 0 |
Punctaj total | 0 |