Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1603224)
| Utilizator | Data | 17 februarie 2016 12:12:36 | |
|---|---|---|---|
| Problema | Teroristi | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 20 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:117:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<lit[i].size();j++){
^
user.cpp:118:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((f[l][aux]==0 ||cnt[l]>=cart[l].size()) &&l<=SIGMA*SIGMA+1) l++;
^
user.cpp:83:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("teroristi.in","r",stdin);
^
user.cpp:84:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("teroristi.out","w",stdout);
^
user.cpp:88:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d\n",&n,&m);
^
user.cpp:89:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:97:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c %c\n",&c1,&c2);
^
/tmp/cckFjQTJ.o: In function `main':
user.cpp:(.text.startup+0x76): warning: the `gets' function is dangerous and should not be used.
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 396kb | Ok! | 10 |
| 2 | 0ms | 532kb | Ok! | 10 |
| 3 | 4ms | 1464kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 16ms | 3128kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 24ms | 3596kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 68ms | 4988kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 160ms | 8856kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 212ms | 13496kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 276ms | 15840kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 316ms | 19080kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 20 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
