Pagini recente » Borderou de evaluare (job #1023025) | Borderou de evaluare (job #2697079) | Borderou de evaluare (job #1762789) | Borderou de evaluare (job #2249114) | Borderou de evaluare (job #1489687)
Borderou de evaluare (job #1489687)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(char*, char*)’:
user.cpp:20:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
res[++res[0]] = 1;
^
user.cpp: In function ‘void divide(char*, int)’:
user.cpp:34:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (A[0] > 0 && A[A[0]] == 0) {
^
user.cpp: In function ‘int main()’:
user.cpp:80:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
res[++res[0]] = x2[x2[0]-i+1];
^
user.cpp:53:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easylca.in", "r", stdin);
^
user.cpp:54:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easylca.out", "w", stdout);
^
user.cpp:57:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &tests);
^
user.cpp:60:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s\n", x+1, y+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | OK | 10 | 100 |
2 | 0ms | 276kb | OK | 10 |
3 | 4ms | 280kb | OK | 10 |
4 | 20ms | 272kb | OK | 10 |
5 | 868ms | 280kb | OK | 10 |
6 | 44ms | 276kb | OK | 10 |
7 | 860ms | 276kb | OK | 10 |
8 | 868ms | 276kb | OK | 10 |
9 | 868ms | 272kb | OK | 10 |
10 | 860ms | 276kb | OK | 10 |
Punctaj total | 100 |