Pagini recente » Borderou de evaluare (job #925124) | Borderou de evaluare (job #2581618) | Borderou de evaluare (job #1781337) | Borderou de evaluare (job #158337) | Borderou de evaluare (job #1320159)
Borderou de evaluare (job #1320159)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int until(int)’:
user.cpp:21:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(x<myhashmap.size())
^
user.cpp: In function ‘int main()’:
user.cpp:39:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d %d %d",n,l,u);
^
user.cpp:39:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:39:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=]
user.cpp:42:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned int’ [-Wformat=]
scanf("%d",a[i]);
^
user.cpp:37:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in","r",stdin);
^
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out","w",stdout);
^
user.cpp:39:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",n,l,u);
^
user.cpp:42:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",a[i]);
^
user.cpp:39:28: warning: ‘l’ is used uninitialized in this function [-Wuninitialized]
scanf("%d %d %d",n,l,u);
^
user.cpp:39:28: warning: ‘u’ is used uninitialized in this function [-Wuninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |