Pagini recente » Borderou de evaluare (job #2440392) | Borderou de evaluare (job #1071053) | Borderou de evaluare (job #1466004) | Borderou de evaluare (job #1350990) | Borderou de evaluare (job #1442161)
Borderou de evaluare (job #1442161)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in", "r", stdin);
^
user.cpp:47:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out" , "w", stdout);
^
user.cpp:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:49:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/cc9lufXB.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1304kb | OK! | 10 |
| 2 | 0ms | 1300kb | OK! | 10 |
| 3 | 0ms | 1300kb | OK! | 10 |
| 4 | 0ms | 1320kb | OK! | 10 |
| 5 | 20ms | 1792kb | OK! | 10 |
| 6 | 12ms | 1500kb | OK! | 10 |
| 7 | 20ms | 1648kb | OK! | 10 |
| 8 | 32ms | 1788kb | OK! | 10 |
| 9 | 8ms | 1436kb | OK! | 10 |
| 10 | 16ms | 1564kb | OK! | 10 |
| Punctaj total | 100 |