Pagini recente » Borderou de evaluare (job #1982020) | Borderou de evaluare (job #1285258) | Borderou de evaluare (job #2868428) | Borderou de evaluare (job #2708508) | Borderou de evaluare (job #1994461)
Borderou de evaluare (job #1994461)
Raport evaluator
Compilare:
user.cpp: In function ‘int readInt(int&)’:
user.cpp:33:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:140:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (cycle.size() != m + 1) {
^
user.cpp:119:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dans.in", "r", stdin);
^
user.cpp:120:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dans.out", "w", stdout);
^
user.cpp: In function ‘int readInt(int&)’:
user.cpp:25:43: 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, HMAX, stdin), pos = 0;
^
user.cpp:30:43: 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, HMAX, stdin), pos = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2264ms | 16188kb | OK | 100 |
Punctaj total | 100 |