Pagini recente » Borderou de evaluare (job #1080867) | Borderou de evaluare (job #355160) | Borderou de evaluare (job #1766639) | Borderou de evaluare (job #3117295) | Borderou de evaluare (job #1429621)
Borderou de evaluare (job #1429621)
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);
^
user.cpp: In function ‘void getsol()’:
user.cpp:13:5: warning: ‘n’ is used uninitialized in this function [-Wuninitialized]
for (i=1;i<=n;i++)
^
/tmp/cc7dMUOi.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 | 428kb | Incorect | 0 | 0 |
2 | 0ms | 424kb | Incorect | 0 |
3 | 0ms | 428kb | Incorect | 0 |
4 | 0ms | 424kb | Incorect | 0 |
5 | 0ms | 452kb | Incorect | 0 |
6 | 0ms | 616kb | Incorect | 0 |
7 | 4ms | 1396kb | OK | 10 |
8 | 4ms | 1400kb | Incorect | 0 |
9 | 4ms | 1396kb | Incorect | 0 |
10 | 4ms | 1400kb | Incorect | 0 |
Punctaj total | 0 |