Pagini recente » Borderou de evaluare (job #2057095) | Borderou de evaluare (job #990248) | Borderou de evaluare (job #216249) | Borderou de evaluare (job #2442570) | Borderou de evaluare (job #2227039)
Borderou de evaluare (job #2227039)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1605]’ [-Wformat=]
scanf("%s" , &s);
^
user.cpp:40:24: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
f[l + 1] = NULL;
^~~~
user.cpp:50:24: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
f[l + 1] = NULL;
^~~~
user.cpp:63:24: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
f[l + 1] = NULL;
^~~~
user.cpp:77:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < v.size() ; i ++)
~~^~~~~~~~~~
user.cpp:93:32: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
a[m][lungime[m]] = NULL;
^~~~
user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dir.in" , "r" , stdin);
^
user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dir.out" , "w" , stdout);
^
user.cpp:22:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s" , &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 756kb | Incorect | 0 |
2 | 0ms | 864kb | Incorect | 0 |
3 | 0ms | 756kb | Incorect | 0 |
4 | 0ms | 768kb | Incorect | 0 |
5 | 0ms | 936kb | Incorect | 0 |
6 | 0ms | 816kb | Incorect | 0 |
7 | 0ms | 860kb | Incorect | 0 |
8 | 0ms | 876kb | Incorect | 0 |
9 | 0ms | 864kb | Incorect | 0 |
10 | 0ms | 860kb | Incorect | 0 |
Punctaj total | 0 |