Pagini recente » Borderou de evaluare (job #2247986) | Borderou de evaluare (job #2778282) | Borderou de evaluare (job #853077) | Borderou de evaluare (job #2252484) | Borderou de evaluare (job #1226472)
Borderou de evaluare (job #1226472)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spirt.in","r",stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spirt.out","w",stdout);
^
user.cpp:25:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&m);
^
user.cpp:26:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); nr=(n-1)+n/2;
^
/tmp/cc1h8u27.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 0ms | 272kb | Incorect | 0 |
6 | 0ms | 272kb | Incorect | 0 |
7 | 0ms | 268kb | Incorect | 0 |
8 | 0ms | 264kb | Incorect | 0 |
9 | 0ms | 364kb | Incorect | 0 |
10 | 0ms | 356kb | Incorect | 0 |
11 | 0ms | 364kb | Incorect | 0 |
12 | 0ms | 364kb | Incorect | 0 |
13 | 0ms | 348kb | Incorect | 0 |
14 | 0ms | 356kb | Incorect | 0 |
15 | 0ms | 356kb | Incorect | 0 |
16 | 0ms | 352kb | Incorect | 0 |
17 | 0ms | 356kb | Incorect | 0 |
18 | 0ms | 356kb | Incorect | 0 |
19 | 0ms | 356kb | Incorect | 0 |
20 | 0ms | 352kb | Incorect | 0 |
Punctaj total | 0 |