Pagini recente » Borderou de evaluare (job #1403351) | Borderou de evaluare (job #2304055) | Borderou de evaluare (job #2780843) | Borderou de evaluare (job #89391) | Borderou de evaluare (job #1985649)
Borderou de evaluare (job #1985649)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dims[letter_to_dim[line[i]]]++;
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fences.in", "r", stdin);
^
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fences.out", "w", stdout);
^
user.cpp:24:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:33:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", line);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 648kb | OK | 100 |
Punctaj total | 100 |