Pagini recente » Borderou de evaluare (job #266656) | Borderou de evaluare (job #2137504) | Borderou de evaluare (job #908960) | Borderou de evaluare (job #1715041) | Borderou de evaluare (job #2347656)
Borderou de evaluare (job #2347656)
Raport evaluator
Compilare:
main.cpp: In function 'void back(int, int, long long int)':
main.cpp:31:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size() ; ++i)
~~^~~~~~~~~~
main.cpp:36: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:46: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:47: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:49: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 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 4ms | 131kb | OK | 10 |
7 | 53ms | 131kb | Time limit exceeded | 0 |
8 | 3ms | 131kb | OK | 10 |
9 | 53ms | 131kb | Time limit exceeded | 0 |
10 | 4ms | 131kb | OK | 10 |
Punctaj total | 80 |