Pagini recente » Borderou de evaluare (job #129980) | Borderou de evaluare (job #2454106) | Borderou de evaluare (job #1938468) | Borderou de evaluare (job #1024501) | Borderou de evaluare (job #1429594)
Borderou de evaluare (job #1429594)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:33: 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:27:35: 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:28:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=0;i<=26;i++) scanf("%d",&t[i]); scanf("\n");
^
user.cpp:28:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=0;i<=26;i++) scanf("%d",&t[i]); scanf("\n");
^
user.cpp:29:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:30:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
/tmp/ccYrIa6x.o: In function `main':
user.cpp:(.text.startup+0x95): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 436kb | Incorect | 0 | 0 |
2 | 0ms | 436kb | Incorect | 0 |
3 | 0ms | 424kb | OK | 10 |
4 | 0ms | 436kb | Incorect | 0 |
5 | 4ms | 612kb | Killed by signal 6(SIGABRT). | 0 |
6 | 4ms | 620kb | Killed by signal 6(SIGABRT). | 0 |
7 | 4ms | 620kb | Killed by signal 6(SIGABRT). | 0 |
8 | 4ms | 620kb | Killed by signal 6(SIGABRT). | 0 |
9 | 4ms | 616kb | Killed by signal 6(SIGABRT). | 0 |
10 | 4ms | 612kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |