Pagini recente » Borderou de evaluare (job #1987761) | Borderou de evaluare (job #2212678) | Cod sursa (job #2052231) | Borderou de evaluare (job #1217167) | Borderou de evaluare (job #1626726)
Borderou de evaluare (job #1626726)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in", "r", stdin);
^
user.cpp:10:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out", "w", stdout);
^
user.cpp:14:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &vc[i]);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
user.cpp:18:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:20:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &l);
^
/tmp/ccZKncY6.o: In function `main':
user.cpp:(.text.startup+0x9c): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 268kb | OK | 10 | 100 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 276kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 0ms | 300kb | OK | 10 |
| 6 | 0ms | 472kb | OK | 10 |
| 7 | 8ms | 1236kb | OK | 10 |
| 8 | 16ms | 1244kb | OK | 10 |
| 9 | 8ms | 1244kb | OK | 10 |
| 10 | 8ms | 1248kb | OK | 10 |
| Punctaj total | 100 |