Pagini recente » Borderou de evaluare (job #3243944) | Borderou de evaluare (job #1850894) | Borderou de evaluare (job #1946115) | Borderou de evaluare (job #2396997) | Borderou de evaluare (job #1730256)
Borderou de evaluare (job #1730256)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46: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:47: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:49: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:49: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:51: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:53:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&l);
^
/tmp/ccSsnjs1.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 | Incorect | 0 | 0 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 432kb | OK | 10 |
5 | 0ms | 568kb | Incorect | 0 |
6 | 0ms | 1400kb | Incorect | 0 |
7 | 16ms | 5296kb | Incorect | 0 |
8 | 20ms | 5312kb | Incorect | 0 |
9 | 12ms | 5312kb | Incorect | 0 |
10 | 16ms | 5300kb | Incorect | 0 |
Punctaj total | 0 |