Pagini recente » Cod sursa (job #1988391) | Borderou de evaluare (job #1405250) | Borderou de evaluare (job #103946) | Borderou de evaluare (job #1058142) | Borderou de evaluare (job #1560260)
Borderou de evaluare (job #1560260)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fsb.in","r",stdin);
^
user.cpp:16:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fsb.out","w",stdout);
^
user.cpp:17:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n); gets(s+1);
^
user.cpp:17:28: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n); gets(s+1);
^
/tmp/cc4q1PdF.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 | 288kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 340kb | OK | 10 |
5 | 4ms | 548kb | OK | 10 |
6 | 8ms | 800kb | OK | 10 |
7 | 8ms | 936kb | OK | 10 |
8 | 12ms | 1044kb | OK | 10 |
9 | 12ms | 1196kb | OK | 10 |
10 | 16ms | 1280kb | OK | 10 |
Punctaj total | 100 |