Pagini recente » Borderou de evaluare (job #374741) | Borderou de evaluare (job #1560239) | Borderou de evaluare (job #2151269) | Borderou de evaluare (job #2500887) | Borderou de evaluare (job #1748864)
Borderou de evaluare (job #1748864)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:34: 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:8:36: 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:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:20:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/cc9E0dgi.o: In function `main':
user.cpp:(.text.startup+0x73): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 428kb | OK | 10 | 20 |
2 | 0ms | 408kb | OK | 10 |
3 | 0ms | 424kb | OK | 10 | 10 |
4 | 0ms | 428kb | OK | 10 | 10 |
5 | 0ms | 432kb | OK | 10 | 10 |
6 | 0ms | 424kb | OK | 10 | 10 |
7 | 0ms | 432kb | OK | 10 | 10 |
8 | 0ms | 436kb | OK | 10 | 10 |
9 | 0ms | 436kb | OK | 10 | 10 |
10 | 0ms | 428kb | OK | 10 | 10 |
Punctaj total | 100 |