Pagini recente » Borderou de evaluare (job #2185896) | Borderou de evaluare (job #198265) | Borderou de evaluare (job #1079688) | Borderou de evaluare (job #627488) | Borderou de evaluare (job #2347642)
Borderou de evaluare (job #2347642)
Raport evaluator
Compilare:
main.cpp: In function 'void back(int, int, long long int)':
main.cpp:33:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k >= v.size() || Sum > S) return ;
~~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:41:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("spirala2.in", "r", stdin);
^
main.cpp:42:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("spirala2.out", "w", stdout);
^
main.cpp:44:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &S);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 10ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 3ms | 131kb | Incorect | 0 |
6 | 4ms | 131kb | Incorect | 0 |
7 | 53ms | 131kb | Time limit exceeded | 0 |
8 | 3ms | 131kb | OK | 10 |
9 | 53ms | 131kb | Time limit exceeded | 0 |
10 | 4ms | 131kb | Incorect | 0 |
Punctaj total | 40 |