Pagini recente » Borderou de evaluare (job #2219560) | Borderou de evaluare (job #1292974) | Borderou de evaluare (job #2403318) | Borderou de evaluare (job #2474957) | Borderou de evaluare (job #1730258)
Borderou de evaluare (job #1730258)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47: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);
^
user.cpp:48: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);
^
user.cpp:50:46: 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",&t[i]); gets(s);
^
user.cpp:50:55: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=0;i<=26;i++) scanf("%d",&t[i]); gets(s);
^
user.cpp:52:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); n=strlen(s+1);
^
user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&l);
^
/tmp/ccRGiqYx.o: In function `main':
user.cpp:(.text.startup+0x7b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | OK | 10 | 100 |
2 | 0ms | 420kb | OK | 10 |
3 | 0ms | 424kb | OK | 10 |
4 | 0ms | 428kb | OK | 10 |
5 | 0ms | 656kb | OK | 10 |
6 | 4ms | 2196kb | OK | 10 |
7 | 20ms | 9208kb | OK | 10 |
8 | 28ms | 9220kb | OK | 10 |
9 | 20ms | 9212kb | OK | 10 |
10 | 24ms | 9216kb | OK | 10 |
Punctaj total | 100 |