Pagini recente » Borderou de evaluare (job #393151) | Borderou de evaluare (job #805741) | Borderou de evaluare (job #2452509) | Borderou de evaluare (job #931592) | Borderou de evaluare (job #2247903)
Borderou de evaluare (job #2247903)
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); getchar();
^
user.cpp:40:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, MAXN, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 44ms | 1524kb | Incorect | 0 |
Punctaj total | 0 |