Pagini recente » Borderou de evaluare (job #1525510) | Borderou de evaluare (job #42407) | Borderou de evaluare (job #2347291) | Borderou de evaluare (job #1362010) | Borderou de evaluare (job #1591747)
Borderou de evaluare (job #1591747)
Raport evaluator
Compilare:
user.cpp: In function ‘void prepare()’:
user.cpp:16:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (n != strlen(s)) cerr << "ERROR";
^
user.cpp: In function ‘int main()’:
user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag2.in", "r", stdin);
^
user.cpp:70:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag2.out", "w", stdout);
^
user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:74:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &p);
^
user.cpp:75:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccXw1bzH.o: In function `main':
user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 1316kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 0ms | 468kb | OK | 10 |
4 | 0ms | 468kb | OK | 10 |
5 | 44ms | 1320kb | OK | 10 |
6 | 44ms | 1316kb | OK | 10 |
7 | 44ms | 1316kb | OK | 10 |
8 | 44ms | 1324kb | OK | 10 |
9 | 44ms | 1320kb | OK | 10 |
10 | 44ms | 1320kb | OK | 10 |
Punctaj total | 100 |