Pagini recente » Borderou de evaluare (job #970464) | Borderou de evaluare (job #1762332)
Borderou de evaluare (job #1762332)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:75:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < blocks.size(); i++)
^
user.cpp:84:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < blocks[i].size(); j++)
^
user.cpp:92:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < blocks[i].size(); j++)
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gravity.in", "r", stdin);
^
user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gravity.out", "w", stdout);
^
user.cpp:34:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &N, &M);
^
user.cpp:36:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:36:23:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccXwqH2Y.o: In function `main':
user.cpp:(.text.startup+0x83): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 176ms | 3172kb | OK! | 10 | 32 |
✓ | 2 | 212ms | 3480kb | OK! | 10 |
✗ | 3 | 164ms | 3316kb | OK! | 12 |
✓ | 4 | Depăşit | 28476kb | Time limit exceeded. | 0 | 0 |
✗ | 5 | Depăşit | 28640kb | Time limit exceeded. | 0 |
✗ | 6 | Depăşit | 24692kb | Time limit exceeded. | 0 | 0 |
✗ | 7 | Depăşit | 24092kb | Time limit exceeded. | 0 |
✓ | 8 | Depăşit | 24280kb | Time limit exceeded. | 0 |
✗ | 9 | Depăşit | 17424kb | Time limit exceeded. | 0 |
✗ | 10 | Depăşit | 25228kb | Time limit exceeded. | 0 |
✓ | 11 | Depăşit | 57752kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 32 |