Pagini recente » Borderou de evaluare (job #784879) | Borderou de evaluare (job #2354588) | Borderou de evaluare (job #423110) | Borderou de evaluare (job #1319829) | Borderou de evaluare (job #1254368)
Borderou de evaluare (job #1254368)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", 2*d[n][1]+n);
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stiva.in", "r", stdin);
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stiva.out", "w", stdout);
^
user.cpp:17:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccGde3D0.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 | 228kb | Incorect | 0 |
2 | 0ms | 224kb | Incorect | 0 |
3 | 0ms | 228kb | Incorect | 0 |
4 | 0ms | 228kb | Incorect | 0 |
5 | 0ms | 224kb | Incorect | 0 |
6 | 0ms | 224kb | Incorect | 0 |
7 | 0ms | 232kb | Incorect | 0 |
8 | 0ms | 228kb | Incorect | 0 |
9 | 0ms | 228kb | Incorect | 0 |
10 | 0ms | 228kb | Incorect | 0 |
Punctaj total | 0 |