Pagini recente » Borderou de evaluare (job #1615241) | Borderou de evaluare (job #1877945) | Borderou de evaluare (job #2575123) | Borderou de evaluare (job #1155603) | Borderou de evaluare (job #1388016)
Borderou de evaluare (job #1388016)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<newo.size()-1;++i){
^
user.cpp:41:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (newo[i] == newo[j] && j < newo.size()) ++j;
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pluton.in", "r", stdin);
^
user.cpp:18:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pluton.out", "w", stdout);
^
user.cpp:20:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int nrp = 0; scanf ("%d",&n);
^
user.cpp:22:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &ar[i]);
^
user.cpp:48:34: warning: ‘Q’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (i=1;i<=n;i++) if (s[Q][ar[i]]) printf ("%d ", ar[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 284kb | Numar incorect de plutoane! | 0 |
4 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 532kb | Ok! | 10 |
Punctaj total | 0 |