Pagini recente » Borderou de evaluare (job #377670) | Borderou de evaluare (job #2103612) | Borderou de evaluare (job #1207239) | Borderou de evaluare (job #926417) | Borderou de evaluare (job #1557796)
Borderou de evaluare (job #1557796)
Raport evaluator
Compilare:
user.cpp: In function ‘void formatAndWriteParagraph(int, char*)’:
user.cpp:20:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lineSize + strlen(p) > max) {
^
user.cpp:31:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = r; i < words.size() - 1; ++i) {
^
user.cpp:46:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < words.size() - 1; ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:52:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text4.in", "r", stdin);
^
user.cpp:54:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &max);
^
user.cpp:56:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, S_MAX, stdin);
^
user.cpp:59:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:61:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, S_MAX, stdin);
^
user.cpp:64:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 460kb | OK | 10 |
4 | 0ms | 460kb | OK | 10 |
5 | 0ms | 460kb | OK | 10 |
6 | 0ms | 464kb | OK | 10 |
7 | 0ms | 468kb | OK | 10 |
8 | 0ms | 464kb | OK | 10 |
9 | 0ms | 456kb | OK | 10 |
10 | 0ms | 460kb | OK | 10 |
Punctaj total | 100 |