Pagini recente » Borderou de evaluare (job #846386) | Borderou de evaluare (job #2605015) | Borderou de evaluare (job #440495) | Borderou de evaluare (job #2739320) | Borderou de evaluare (job #1672791)
Borderou de evaluare (job #1672791)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.in","r",stdin);
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.out","w",stdout);
^
user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:18:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cc1wtuwz.o: In function `main':
user.cpp:(.text.startup+0x67): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 864kb | OK | 10 |
5 | 8ms | Depăşit | Memory limit exceeded. | 0 |
6 | 8ms | Depăşit | Memory limit exceeded. | 0 |
7 | 8ms | Depăşit | Memory limit exceeded. | 0 |
8 | 8ms | Depăşit | Memory limit exceeded. | 0 |
9 | 8ms | Depăşit | Memory limit exceeded. | 0 |
10 | 8ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 40 |