Pagini recente » Borderou de evaluare (job #2801521) | Borderou de evaluare (job #2576795) | Borderou de evaluare (job #2448274) | Borderou de evaluare (job #1863132) | Borderou de evaluare (job #2301773)
Borderou de evaluare (job #2301773)
Raport evaluator
Compilare:
main.cpp: In function 'int valid(int)':
main.cpp:40:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=n ; i>=n-r ; i--)
^~~
main.cpp:42:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if (val>=c)
^~
main.cpp: In function 'int main()':
main.cpp:49:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("livada3.in","r",stdin);
^
main.cpp:50:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("livada3.out","w",stdout);
^
main.cpp:78:12: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<sol;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 393kb | OK | 10 |
2 | 4ms | 524kb | OK | 10 |
3 | 3ms | 131kb | Killed by Signal 8 | 0 |
4 | 3ms | 131kb | Killed by Signal 8 | 0 |
5 | 3ms | 131kb | Killed by Signal 8 | 0 |
6 | 3ms | 131kb | Killed by Signal 8 | 0 |
7 | 3ms | 131kb | Killed by Signal 8 | 0 |
8 | 3ms | 131kb | Killed by Signal 8 | 0 |
9 | 3ms | 131kb | Killed by Signal 8 | 0 |
10 | 2ms | 262kb | OK | 10 |
Punctaj total | 30 |