Pagini recente » Borderou de evaluare (job #2765028) | Borderou de evaluare (job #249334) | Borderou de evaluare (job #2688631) | Borderou de evaluare (job #2209138) | Borderou de evaluare (job #1767519)
Borderou de evaluare (job #1767519)
Raport evaluator
Compilare:
user.cpp: In function ‘int get(int&)’:
user.cpp:41:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void solve()’:
user.cpp:148:6: warning: unused variable ‘v’ [-Wunused-variable]
int v[8]; int cnt = 0; int v2[8]; int cnt2 = 0;
^
user.cpp:148:16: warning: unused variable ‘cnt’ [-Wunused-variable]
int v[8]; int cnt = 0; int v2[8]; int cnt2 = 0;
^
user.cpp:148:29: warning: unused variable ‘v2’ [-Wunused-variable]
int v[8]; int cnt = 0; int v2[8]; int cnt2 = 0;
^
user.cpp:148:40: warning: unused variable ‘cnt2’ [-Wunused-variable]
int v[8]; int cnt = 0; int v2[8]; int cnt2 = 0;
^
user.cpp: In function ‘int get(int&)’:
user.cpp:30:69: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, DIMBUF, stdin), p = 0, len = strlen(buff);
^
user.cpp:38:70: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, DIMBUF, stdin), p = 0 , len = strlen(buff);
^
user.cpp: In function ‘int main()’:
user.cpp:178:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smax.in", "r", stdin);
^
user.cpp:179:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smax.out", "w", stdout);
^
user.cpp:180:31: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, DIMBUF, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1064ms | 43508kb | Incorect | 0 |
Punctaj total | 0 |