Pagini recente » Borderou de evaluare (job #1206442) | Borderou de evaluare (job #959514) | Borderou de evaluare (job #1241820) | Borderou de evaluare (job #36365) | Borderou de evaluare (job #2301625)
Borderou de evaluare (job #2301625)
Raport evaluator
Compilare:
main.cpp: In function 'int valid(int)':
main.cpp:41:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=n ; i>=n-r ; i--)
^~~
main.cpp:43: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:50: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:51: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:79:12: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<sol;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 393kb | OK | 10 |
2 | 4ms | 524kb | OK | 10 |
3 | 25ms | 1572kb | Incorect | 0 |
4 | 33ms | 1703kb | Incorect | 0 |
5 | 45ms | 2097kb | Incorect | 0 |
6 | 44ms | 2097kb | Incorect | 0 |
7 | 202ms | 10092kb | Incorect | 0 |
8 | 296ms | 10092kb | Incorect | 0 |
9 | 285ms | 10092kb | Incorect | 0 |
10 | 2ms | 262kb | OK | 10 |
Punctaj total | 30 |