Pagini recente » Borderou de evaluare (job #207314) | Borderou de evaluare (job #74410) | Borderou de evaluare (job #76629) | Borderou de evaluare (job #223608) | Borderou de evaluare (job #1867215)
Borderou de evaluare (job #1867215)
Raport evaluator
Compilare:
user.cpp: In function ‘void difference(int, int)’:
user.cpp:71:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j < (int)stk[b].size()-1 && stk[b][j] < stk[a][i]) j++;
^
user.cpp: In function ‘int main()’:
user.cpp:184:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expr.in", "r", stdin);
^
user.cpp:185:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expr.out", "w", stdout);
^
user.cpp:187:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccYy6tl8.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 268kb | OK | 10 |
7 | 0ms | 256kb | OK | 10 |
8 | 0ms | 280kb | OK | 10 |
9 | 0ms | 372kb | Incorect | 0 |
10 | 0ms | 356kb | OK | 10 |
Punctaj total | 90 |