Pagini recente » Borderou de evaluare (job #1986043) | Cod sursa (job #2501782) | Borderou de evaluare (job #1367602) | Borderou de evaluare (job #710012) | Borderou de evaluare (job #1565067)
Borderou de evaluare (job #1565067)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
suma += lung[s[i]];
^
user.cpp:44:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
w += lung[s[i--]];
^
user.cpp:17:10: warning: unused variable ‘incape’ [-Wunused-variable]
bool incape = true;
^
user.cpp:19:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &lung[' ']);
^
user.cpp:21:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &lung[i]);
^
user.cpp:22:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%*c");
^
user.cpp:24:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 1000000, fin);
^
user.cpp:28:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 436kb | OK | 10 | 100 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 436kb | OK | 10 |
5 | 0ms | 464kb | OK | 10 |
6 | 0ms | 628kb | OK | 10 |
7 | 8ms | 1400kb | OK | 10 |
8 | 16ms | 1412kb | OK | 10 |
9 | 8ms | 1412kb | OK | 10 |
10 | 8ms | 1408kb | OK | 10 |
Punctaj total | 100 |