Pagini recente » Borderou de evaluare (job #413843) | Borderou de evaluare (job #2502916) | Borderou de evaluare (job #1765828) | Borderou de evaluare (job #2249396) | Borderou de evaluare (job #2406942)
Borderou de evaluare (job #2406942)
Raport evaluator
Compilare:
main.cpp: In function 'void res(int&)':
main.cpp:22:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = n; i < me.size(); i++) ve[me[i]] = 0;
~~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:60:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); i++)
~~^~~~~~~~~~
main.cpp: In function 'int scan()':
main.cpp:34:107: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
while(b[p] != '-' and !('0' <= b[p] and b[p] <= '9')) { p++; if(p == mx) fread(b, 1, mx, stdin), p = 0; }
^
main.cpp:35:77: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if(b[p] == '-') { f = -1, p++; if(p == mx) fread(b, 1, mx, stdin), p = 0; }
^
main.cpp:36:115: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
while('0' <= b[p] and b[p] <= '9') { nr = nr * 10 + b[p] - '0', p++; if(p == mx) fread(b, 1, mx, stdin), p = 0; }
^
main.cpp: In function 'int main()':
main.cpp:42:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rays.in", "r", stdin);
^
main.cpp:43:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rays.out", "w", stdout);
^
main.cpp:46:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(b, 1, mx, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 262kb | OK | 10 |
4 | 17ms | 913kb | OK | 10 |
5 | 80ms | 3264kb | OK | 10 |
6 | 168ms | 6668kb | OK | 10 |
7 | 246ms | 11644kb | OK | 10 |
8 | 324ms | 11661kb | OK | 10 |
9 | 315ms | 11644kb | OK | 10 |
10 | 330ms | 11644kb | OK | 10 |
Punctaj total | 100 |