Pagini recente » Borderou de evaluare (job #2117818) | Borderou de evaluare (job #662864) | Borderou de evaluare (job #2602528) | Borderou de evaluare (job #891273) | Borderou de evaluare (job #2247867)
Borderou de evaluare (job #2247867)
Raport evaluator
Compilare:
user.cpp: In function ‘char pick(int)’:
user.cpp:28:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
SKIP(f[x] == 0);
^
user.cpp:9:20: note: in definition of macro ‘SKIP’
#define SKIP(x) if(x) { continue; }
^
user.cpp: In function ‘int main()’:
user.cpp:44:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++f[*i];
^
user.cpp:52:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--f[x];
^
user.cpp:35:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(InFile, "r", stdin);
^
user.cpp:36:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OuFile, "w", stdout);
^
user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", buf);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 48ms | 1516kb | Incorect | 0 |
Punctaj total | 0 |