Pagini recente » Borderou de evaluare (job #60366) | Borderou de evaluare (job #34366) | Statistici Mihnea-Alexandru Visan (AnAverageTurtle) | antrenament_2 | Borderou de evaluare (job #1751699)
Borderou de evaluare (job #1751699)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:91:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[1] + 1);
^
user.cpp:95:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[2] + 1);
^
user.cpp:99:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:102:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘int main()’:
user.cpp:152:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.in", "r", stdin);
^
user.cpp:153:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.out", "w", stdout);
^
/tmp/ccvPxL1r.o: In function `read()':
user.cpp:(.text+0x229): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 804kb | OK | 10 |
| 2 | 0ms | 800kb | OK | 10 |
| 3 | 0ms | 820kb | OK | 10 |
| 4 | 0ms | 832kb | OK | 10 |
| 5 | 0ms | 844kb | OK | 10 |
| 6 | 0ms | 812kb | OK | 10 |
| 7 | 0ms | 832kb | OK | 10 |
| 8 | 0ms | 840kb | OK | 10 |
| 9 | 0ms | 840kb | OK | 10 |
| 10 | 0ms | 796kb | OK | 10 |
| Punctaj total | 100 |