Pagini recente » Borderou de evaluare (job #380375) | Borderou de evaluare (job #497146) | Borderou de evaluare (job #2255377) | Borderou de evaluare (job #2272425) | Borderou de evaluare (job #1591496)
Borderou de evaluare (job #1591496)
Raport evaluator
Compilare:
user.cpp: In function ‘void prepare()’:
user.cpp:14:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (n != strlen(s)) cerr << "ERROR";
^
user.cpp: In function ‘int main()’:
user.cpp:64: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:65:36: 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:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:69: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:70:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccFEwBnm.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 | 16ms | 1008kb | Incorect | 0 |
2 | 0ms | 476kb | Incorect | 0 |
3 | 0ms | 464kb | Incorect | 0 |
4 | 0ms | 476kb | Incorect | 0 |
5 | 40ms | 2272kb | Incorect | 0 |
6 | 36ms | 2276kb | Incorect | 0 |
7 | 36ms | 2272kb | Incorect | 0 |
8 | 36ms | 2280kb | Incorect | 0 |
9 | 36ms | 2272kb | Incorect | 0 |
10 | 36ms | 2276kb | Incorect | 0 |
Punctaj total | 0 |