Pagini recente » Borderou de evaluare (job #840256) | Borderou de evaluare (job #873688) | Borderou de evaluare (job #918745) | Borderou de evaluare (job #2323579) | Borderou de evaluare (job #1214517)
Borderou de evaluare (job #1214517)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:108:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned int i=1;i<=cnt;i++) printf("%d ",sol[i]);
^
user.cpp: In function ‘int get()’:
user.cpp:24:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
while(buff[pos]<'0' || buff[pos]>'9') nxt;
^
user.cpp:28:12: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
nxt;
^
user.cpp: In function ‘int main()’:
user.cpp:114: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:115: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 ‘void solve()’:
user.cpp:107:27: warning: ‘cnt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(unsigned int i=cnt+1;i<sol.size();i++) printf("%d ",sol[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2236ms | 17620kb | Raspuns gresit | 0 |
Punctaj total | 0 |