Pagini recente » Borderou de evaluare (job #2991218) | Borderou de evaluare (job #381871) | Borderou de evaluare (job #770827) | Borderou de evaluare (job #1591675) | Borderou de evaluare (job #1263198)
Borderou de evaluare (job #1263198)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("par.in","r",stdin);
^
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("par.out","w",stdout);
^
user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:13:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c+1);
^
/tmp/ccrqvoxJ.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | OK | 10 | 20 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 | 10 |
4 | 0ms | 284kb | OK | 10 | 10 |
5 | 0ms | 284kb | OK | 10 | 10 |
6 | 0ms | 284kb | OK | 10 | 10 |
7 | 0ms | 284kb | OK | 10 | 10 |
8 | 0ms | 292kb | OK | 10 | 10 |
9 | 0ms | 288kb | OK | 10 | 10 |
10 | 0ms | 292kb | OK | 10 | 10 |
Punctaj total | 100 |